fixed Dockerfile
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Samuel Philipp 2021-06-24 23:10:18 +02:00
parent 94354de748
commit 0cb627afe0
Signed by: samuel-p
GPG key ID: 2AD495D17760CB4E

View file

@ -11,7 +11,7 @@ ENV FILTRON_VERSION="v0.2.0"
WORKDIR $GOPATH/src/github.com/asciimoo/filtron WORKDIR $GOPATH/src/github.com/asciimoo/filtron
RUN apk upgrade --no-cache && \ RUN apk upgrade --no-cache && \
apk add --no-cache tar="1.34-r0" git="2.32.0-r0" curl="7.77.0-r1" && \ apk add --no-cache tar git curl && \
curl -L "https://github.com/asciimoo/filtron/archive/${FILTRON_VERSION}.tar.gz" | tar xvz --strip 1 curl -L "https://github.com/asciimoo/filtron/archive/${FILTRON_VERSION}.tar.gz" | tar xvz --strip 1
RUN go get -d -v && gofmt -l ./ && go build . RUN go get -d -v && gofmt -l ./ && go build .