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 WORKDIR /tmp
COPY alpine/taglib/APKBUILD . COPY alpine/taglib/APKBUILD .
RUN apk update && \ RUN apk update && \
apk add --no-cache abuild && \ apk add --no-cache abuild doas && \
abuild-keygen -a -n && \ echo "permit nopass root" > /etc/doas.conf && \
abuild-keygen -a -n -i && \
REPODEST=/pkgs abuild -F -r REPODEST=/pkgs abuild -F -r
FROM golang:1.21-alpine AS builder FROM golang:1.21-alpine AS builder