From cf80002f9d31a44cfd869be3971182883eaf4367 Mon Sep 17 00:00:00 2001 From: Gerson Alexander Pardo Gamez Date: Fri, 4 Jun 2021 18:20:03 -0500 Subject: [PATCH] small dockerfile --- Dockerfile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index f91520fb..1ab81c78 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,15 +5,9 @@ ENV GOPROXY https://proxy.golang.org,direct ENV WORKDIR /app WORKDIR ${WORKDIR} -RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && \ - echo "@community http://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories +RUN apk add --no-cache make -RUN apk add --no-cache binutils make openssh gcc musl-dev build-base \ - zip unzip git mercurial curl rpm bash jpegoptim \ - pngquant upx@community - -RUN mkdir -p /var/log/go/ && \ - mkdir -p ${GOPATH}/src/ && \ +RUN mkdir -p ${GOPATH}/src/ && \ mkdir -p ${GOPATH}/bin/ ENV PATH ${GOPATH}/bin:/usr/local/go/bin:$PATH