Skip to content

Commit dd74127

Browse files
committed
docker: run apt-get update before install
1 parent f4003f6 commit dd74127

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docker/app/go/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ FROM showwin/ishocon2_app_base:latest
22
ENV APP_LANG 'Go'
33

44
# Go のインストール
5+
RUN sudo apt-get update
56
RUN sudo wget -q https://dl.google.com/go/go1.15.8.linux-amd64.tar.gz && \
67
sudo tar -C /usr/local -xzf go1.15.8.linux-amd64.tar.gz && \
78
sudo rm go1.15.8.linux-amd64.tar.gz

docker/app/nodejs/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ FROM showwin/ishocon2_app_base:latest
22
ENV APP_LANG 'Node.js'
33

44
# NodeJS のインストール
5+
RUN sudo apt-get update
56
RUN sudo apt install -y nodejs-dev node-gyp libssl1.0-dev
67
RUN sudo apt install -y nodejs npm
78

0 commit comments

Comments
 (0)