From d4917d2a675525525c85f7813a5568ee753286a8 Mon Sep 17 00:00:00 2001 From: Dorival Pedroso Date: Mon, 30 Nov 2020 17:18:01 +1000 Subject: [PATCH] Improve Dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9f91b3db..73342cc2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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