Skip to content

Commit

Permalink
Ubuntuパッケージにバージョン指定を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
takara9 committed May 27, 2024
1 parent b151cf6 commit 69be617
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
FROM ubuntu:22.04

# モジュールをインストール
RUN apt update && apt install -y python3 python3-pip iputils-ping dnsutils curl iproute2 zip unzip groff
RUN apt update
RUN apt-get install -y python3=3.10.6-1~22.04 python3-pip=22.0.2+dfsg-1ubuntu0.4 iputils-ping=3:20211215-1 dnsutils=1:9.18.18-0ubuntu0.22.04.2 curl=7.81.0-1ubuntu1.16 iproute2=5.15.0-1ubuntu2 zip=3.0-12build2 unzip=6.0-26ubuntu3.2 groff=1.22.4-8build1
RUN curl -LJO https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64
RUN mv yq_linux_amd64 /usr/local/bin/yq && chmod a+x /usr/local/bin/yq
RUN ARCH=`arch` && curl "https://awscli.amazonaws.com/awscli-exe-linux-$ARCH.zip" -o "awscliv2.zip"
Expand Down

0 comments on commit 69be617

Please sign in to comment.