Skip to content

Commit c9f4181

Browse files
committed
feat(docker): use alpine native taglib
bumps from 2.0.1 to 2.1.1
1 parent 3db183b commit c9f4181

File tree

2 files changed

+1
-69
lines changed

2 files changed

+1
-69
lines changed

Dockerfile

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,13 @@
1-
FROM alpine:3.22 AS builder-taglib
2-
WORKDIR /tmp
3-
COPY alpine/taglib/APKBUILD .
4-
RUN apk update && \
5-
apk add --no-cache abuild doas && \
6-
echo "permit nopass root" > /etc/doas.conf && \
7-
abuild-keygen -a -n -i && \
8-
REPODEST=/pkgs abuild -F -r
9-
101
FROM golang:1.25-alpine3.22 AS builder
112
RUN apk add -U --no-cache \
123
build-base \
134
ca-certificates \
145
git \
156
sqlite \
167
zlib-dev \
8+
taglib-dev \
179
go
1810

19-
# TODO: delete this block when taglib v2 is on alpine packages
20-
COPY --from=builder-taglib /pkgs/*/*.apk /pkgs/
21-
RUN apk add --no-cache --allow-untrusted /pkgs/*
22-
2311
WORKDIR /src
2412
COPY go.mod .
2513
COPY go.sum .

alpine/taglib/APKBUILD

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)