feat(docker): use alpine native taglib
bumps from 2.0.1 to 2.1.1
This commit is contained in:
No files matched your search
+1
-13
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user