chore(docker): update to Alpine 3.19 (#502)

* update to Alpine 3.19

check out utfcpp (taglib2 dependency) from git, because Alpine 3.19
packages incompatible utfcpp 4.0, resulting in build failure

* use utfcpp package and specify the include path
This commit is contained in:
Artem Tarasov
2024-05-20 18:21:04 +02:00
committed by GitHub
parent 14c34c6052
commit 0d7d92d545
2 changed files with 7 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
FROM alpine:3.18 AS builder-taglib
FROM alpine:3.19 AS builder-taglib
WORKDIR /tmp
COPY alpine/taglib/APKBUILD .
RUN apk update && \
@@ -26,7 +26,7 @@ RUN go mod download
COPY . .
RUN GOOS=linux go build -o gonic cmd/gonic/gonic.go
FROM alpine:3.18
FROM alpine:3.19
LABEL org.opencontainers.image.source https://github.com/sentriz/gonic
RUN apk add -U --no-cache \
ffmpeg \