Update Docker image to Alpine Linux 3.10.0

This commit is contained in:
Frédéric Guillot 2019-06-20 21:00:59 -07:00
parent d01a2dd651
commit a04fe1aa7e

View file

@ -1,11 +1,11 @@
FROM golang:1.12-alpine3.9 as build FROM golang:1.12-alpine3.10 as build
ENV GO111MODULE=on ENV GO111MODULE=on
WORKDIR /go/src/app WORKDIR /go/src/app
RUN apk add --no-cache --update build-base git RUN apk add --no-cache --update build-base git
COPY . . COPY . .
RUN make linux-__MINIFLUX_ARCH__ VERSION=__MINIFLUX_VERSION__ RUN make linux-__MINIFLUX_ARCH__ VERSION=__MINIFLUX_VERSION__
FROM __BASEIMAGE_ARCH__/alpine:3.9 FROM __BASEIMAGE_ARCH__/alpine:3.10.0
EXPOSE 8080 EXPOSE 8080
ENV LISTEN_ADDR 0.0.0.0:8080 ENV LISTEN_ADDR 0.0.0.0:8080
RUN apk --no-cache add ca-certificates tzdata RUN apk --no-cache add ca-certificates tzdata