mirror of
https://github.com/Belphemur/CBZOptimizer.git
synced 2025-10-13 20:18:52 +02:00
ci: fix docker building
This commit is contained in:
@@ -3,16 +3,15 @@ LABEL authors="Belphemur"
|
||||
ENV USER=abc
|
||||
ENV CONFIG_FOLDER=/config
|
||||
ENV PUID=99
|
||||
ENV PGID=100
|
||||
RUN mkdir -p "${CONFIG_FOLDER}" && addgroup -g "${PGID}" "${USER}" && adduser \
|
||||
RUN mkdir -p "${CONFIG_FOLDER}" && adduser \
|
||||
--disabled-password \
|
||||
--gecos "" \
|
||||
--home "$(pwd)" \
|
||||
--ingroup "${USER}" \
|
||||
--ingroup "users" \
|
||||
--no-create-home \
|
||||
--uid "${PUID}" \
|
||||
"${USER}" && \
|
||||
chown ${PUID}:${GUID} /config "${CONFIG_FOLDER}"
|
||||
chown ${PUID}:${GUID} "${CONFIG_FOLDER}"
|
||||
|
||||
COPY CBZOptimizer /usr/local/bin/CBZOptimizer
|
||||
|
||||
|
Reference in New Issue
Block a user