Skip to content

Commit 3a54f12

Browse files
committed
- updating docker file with go hopeing that go 1.12.12 is good enough
1 parent 42f858a commit 3a54f12

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Dockerfile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
FROM vault:1.5.3
1+
FROM vault:1.6.0
22
LABEL maintainer="Corelight AWS Team <aws@corelight.com>"
33
LABEL description="Serverless and Vault with Terraform for CI/CD"
44

5-
RUN wget -O /root/go1.15.1.linux-amd64.tar.gz "https://dl.google.com/go/go1.15.1.linux-amd64.tar.gz" && \
6-
tar -C /usr/local -xzf /root/go1.15.1.linux-amd64.tar.gz
7-
8-
ENV PATH="${PATH}:/usr/local/go/bin"
9-
105

116
RUN wget --quiet https://releases.hashicorp.com/terraform/0.12.29/terraform_0.12.29_linux_amd64.zip \
127
&& unzip terraform_0.12.29_linux_amd64.zip \
@@ -22,7 +17,7 @@ RUN npm install -g serverless@1.66 \
2217
# Note: ignore "serverless update check failed" warning during "npm install"
2318

2419
# Heavyweight considering we only use awscli for configuration, presently.
25-
RUN apk add --no-cache --update python3 py-pip groff && \
20+
RUN apk add --no-cache --update python3 py-pip groff go && \
2621
pip install --upgrade awscli python-gitlab
2722

2823
ENTRYPOINT ["/bin/bash", "-l", "-c"]

0 commit comments

Comments
 (0)