3 Commits

Author SHA1 Message Date
Antoine Aflalo
a6ad1dada3 fix(release): fix not having archive in the release 2025-09-10 08:49:50 -04:00
Antoine Aflalo
17fe01f27c fix(docker): remove unnecessary volume declaration and clean up bashrc setup 2025-09-09 22:58:24 -04:00
Antoine Aflalo
4fa3014d80 fix(docker): when we set the volume
To be sure we have the cache downloaded
2025-09-09 22:55:27 -04:00
2 changed files with 2 additions and 6 deletions

View File

@@ -5,8 +5,6 @@ release:
github:
owner: belphemur
name: CBZOptimizer
ids:
- cbzoptimizer
archives:
- ids:
- cbzoptimizer

View File

@@ -18,8 +18,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
--ingroup users \
--disabled-password \
"${USER}" && \
apt-get purge -y --auto-remove adduser && \
rm -rf /var/lib/apt/lists/*
apt-get purge -y --auto-remove adduser
COPY ${TARGETPLATFORM}/CBZOptimizer ${APP_PATH}
@@ -33,11 +32,10 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
bash \
ca-certificates \
bash-completion && \
rm -rf /var/lib/apt/lists/* && \
/tmp/target/encoder-setup && \
chmod +x ${APP_PATH} && \
${APP_PATH} completion bash > /etc/bash_completion.d/CBZOptimizer.bash
VOLUME ${CONFIG_FOLDER}
USER ${USER}
ENTRYPOINT ["/usr/local/bin/CBZOptimizer"]