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

This commit is contained in:
Samuel Philipp 2021-01-27 23:38:39 +01:00
parent 664ba78ff4
commit ca3583e8e8

View file

@ -6,11 +6,11 @@ FROM arm32v7/golang:1.15.7-alpine3.12@sha256:d54bff25a171d1b3036bf6b5dea2bbfaf75
FROM arm64v8/golang:1.15.7-alpine3.12@sha256:e5389316a6dc295d6c0ca269c39124ad5bc9ebb416c71c810822cf6fbcf8ff01 AS builder-arm64 FROM arm64v8/golang:1.15.7-alpine3.12@sha256:e5389316a6dc295d6c0ca269c39124ad5bc9ebb416c71c810822cf6fbcf8ff01 AS builder-arm64
FROM builder-${ARCH} AS builder FROM builder-${ARCH} AS builder
ENV FILTRON_VERSION="v0.2.0" ENV FILTRON_VERSION="v0.1.0"
WORKDIR $GOPATH/src/github.com/asciimoo/filtron WORKDIR $GOPATH/src/github.com/asciimoo/filtron
RUN apk update && apk upgrade && \ RUN apk upgrade --no-cache && \
apk add --no-cache tar="1.32-r1" git="2.26.2-r0" curl="7.69.1-r3" && \ apk add --no-cache tar="1.32-r1" git="2.26.2-r0" curl="7.69.1-r3" && \
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