mirror of
https://github.com/jlelse/GoBlog
synced 2024-06-18 05:05:00 +00:00
Update Alpine version
This commit is contained in:
parent
59f3e7c46c
commit
8ffcb23de1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user