feat: add release workflow

This commit is contained in:
Antoine Aflalo
2024-08-27 19:47:15 -04:00
parent 6a456349d9
commit 266dcb476f
3 changed files with 161 additions and 0 deletions

22
Dockerfile Normal file
View File

@@ -0,0 +1,22 @@
FROM alpine:latest
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 \
--disabled-password \
--gecos "" \
--home "$(pwd)" \
--ingroup "${USER}" \
--no-create-home \
--uid "${PUID}" \
"${USER}" && \
chown ${PUID}:${GUID} /config "${CONFIG_FOLDER}"
COPY CBZOptimizer /usr/local/bin/CBZOptimizer
RUN apk add --no-cache inotify-tools && chmod +x /usr/local/bin/CBZOptimizer
USER ${USER}
ENTRYPOINT ["/usr/local/bin/CBZOptimizer"]