Update Alpine version

This commit is contained in:
Jan-Lukas Else 2021-07-06 16:45:38 +02:00
parent 59f3e7c46c
commit 8ffcb23de1
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1.16-alpine3.13 as build
FROM golang:1.16-alpine3.14 as build
WORKDIR /app
RUN apk add --no-cache git gcc musl-dev
RUN apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main sqlite-dev
@ -10,7 +10,7 @@ Add templates/ /app/templates/
RUN go test -cover ./...
RUN go build -ldflags '-w -s' -o GoBlog
FROM alpine:3.13
FROM alpine:3.14
WORKDIR /app
VOLUME /app/config
VOLUME /app/data