Skip to content

Commit

Permalink
Improve Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cpmech committed Nov 30, 2020
1 parent e130a3b commit d4917d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ RUN apt-get update -y && apt-get install -y --no-install-recommends \

# download go
ARG GOFN=go$GO_VERSION.linux-amd64.tar.gz
RUN curl https://dl.google.com/go/$GOFN -o /usr/local/$GOFN
RUN tar -xzf /usr/local/$GOFN -C /usr/local/
RUN rm /usr/local/$GOFN
RUN curl https://dl.google.com/go/$GOFN -o /usr/local/$GOFN \
&& tar -xzf /usr/local/$GOFN -C /usr/local/ \
&& rm /usr/local/$GOFN

# set path for go executable
ENV PATH $PATH:/usr/local/go/bin
Expand Down

0 comments on commit d4917d2

Please sign in to comment.