Skip to content

Commit

Permalink
update golang image to latest and make apt-0get install non interactive
Browse files Browse the repository at this point in the history
  • Loading branch information
dikhan committed May 31, 2019
1 parent 2499545 commit fbe3b53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM golang:1.8
FROM golang:1.12.5

WORKDIR /openapi

ENV TERRAFORM_VERSION=0.12.0

RUN apt-get update && \
apt-get install unzip openssl ca-certificates && \
apt-get -yq install unzip openssl ca-certificates && \
cd /tmp && \
wget https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip && \
unzip terraform_${TERRAFORM_VERSION}_linux_amd64.zip -d /usr/bin && \
Expand Down

0 comments on commit fbe3b53

Please sign in to comment.