feat(docker): use alpine native taglib

bumps from 2.0.1 to 2.1.1
This commit is contained in:
sentriz
2025-09-18 16:47:42 +01:00
parent 3db183bda4
commit c9f41810af
2 changed files with 1 additions and 69 deletions

No files matched your search

+1 -13
View File
@@ -1,12 +1,3 @@
FROM alpine:3.22 AS builder-taglib
WORKDIR /tmp
COPY alpine/taglib/APKBUILD .
RUN apk update && \
apk add --no-cache abuild doas && \
echo "permit nopass root" > /etc/doas.conf && \
abuild-keygen -a -n -i && \
REPODEST=/pkgs abuild -F -r
FROM golang:1.25-alpine3.22 AS builder
RUN apk add -U --no-cache \
build-base \
@@ -14,12 +5,9 @@ RUN apk add -U --no-cache \
git \
sqlite \
zlib-dev \
taglib-dev \
go
# TODO: delete this block when taglib v2 is on alpine packages
COPY --from=builder-taglib /pkgs/*/*.apk /pkgs/
RUN apk add --no-cache --allow-untrusted /pkgs/*
WORKDIR /src
COPY go.mod .
COPY go.sum .