ci: goreleaser fixes

This commit is contained in:
Antoine Aflalo
2025-09-09 21:03:49 -04:00
parent 41ff843a80
commit b878390b46
2 changed files with 23 additions and 3 deletions

View File

@@ -6,14 +6,16 @@ ENV USER=abc
ENV CONFIG_FOLDER=/config
ENV PUID=99
RUN addgroup --system users && \
RUN apt-get update && apt-get install -y --no-install-recommends adduser && \
addgroup --system users && \
adduser \
--system \
--home "${CONFIG_FOLDER}" \
--uid "${PUID}" \
--ingroup users \
--disabled-password \
"${USER}"
"${USER}" && \
apt-get purge -y --auto-remove adduser
COPY ${TARGETPLATFORM}/CBZOptimizer ${APP_PATH}