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:
@@ -1,4 +1,4 @@
|
|||||||
FROM alpine:3.18 AS builder-taglib
|
FROM alpine:3.19 AS builder-taglib
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
COPY alpine/taglib/APKBUILD .
|
COPY alpine/taglib/APKBUILD .
|
||||||
RUN apk update && \
|
RUN apk update && \
|
||||||
@@ -26,7 +26,7 @@ RUN go mod download
|
|||||||
COPY . .
|
COPY . .
|
||||||
RUN GOOS=linux go build -o gonic cmd/gonic/gonic.go
|
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
|
LABEL org.opencontainers.image.source https://github.com/sentriz/gonic
|
||||||
RUN apk add -U --no-cache \
|
RUN apk add -U --no-cache \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
||||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||||
pkgname=taglib2
|
pkgname=taglib2
|
||||||
pkgver=2.0
|
pkgver=2.0.1
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Library for reading and editing metadata of several popular audio formats"
|
pkgdesc="Library for reading and editing metadata of several popular audio formats"
|
||||||
url="https://taglib.github.io/"
|
url="https://taglib.github.io/"
|
||||||
@@ -30,9 +30,10 @@ build() {
|
|||||||
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
||||||
-DWITH_ZLIB=ON \
|
-DWITH_ZLIB=ON \
|
||||||
-DBUILD_SHARED_LIBS=ON \
|
-DBUILD_SHARED_LIBS=ON \
|
||||||
-DBUILD_EXAMPLES=ON \
|
-DBUILD_EXAMPLES=OFF \
|
||||||
-DBUILD_TESTING="$(want_check && echo ON || echo OFF)" \
|
-DBUILD_TESTING="$(want_check && echo ON || echo OFF)" \
|
||||||
-DVISIBILITY_HIDDEN=ON
|
-DVISIBILITY_HIDDEN=ON
|
||||||
|
CPLUS_INCLUDE_PATH="/usr/include/utf8cpp" \
|
||||||
cmake --build build
|
cmake --build build
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -51,5 +52,5 @@ _lib() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
099d02b2eab033f5702a8cb03e70752d7523c6f8c2f3eebdd0bcd939eafbdca3f2a6c82452983904b5822cfa45f2707ed866c3419508df9d43bf5c0b3a476f6c taglib-2.0.tar.gz
|
25ee89293a96d7f8dca6276f822bdaef01fd98503b78c20ffeac8e1d9821de7273a5127146aa798d304c6a995cb2b7229a205aff1cc261b5d4fa9e499dda0439 taglib-2.0.1.tar.gz
|
||||||
"
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user