Skip to content
This repository has been archived by the owner on Dec 17, 2022. It is now read-only.

Commit

Permalink
small dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jerson committed Jun 4, 2021
1 parent 0474087 commit cf80002
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf80002

Please sign in to comment.