fix(dockerfile): install abuild key (#526)

Without this, abuild refuses to run correctly.
This commit is contained in:
Nadia Santalla
2024-09-12 19:24:09 +02:00
committed by GitHub
parent bbe16b7555
commit fb36dbf719

View File

@@ -2,8 +2,9 @@ FROM alpine:3.19 AS builder-taglib
WORKDIR /tmp
COPY alpine/taglib/APKBUILD .
RUN apk update && \
apk add --no-cache abuild && \
abuild-keygen -a -n && \
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.21-alpine AS builder