mirror of
https://github.com/Belphemur/CBZOptimizer.git
synced 2026-01-12 00:26:26 +01:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6b92336ba1 | ||
|
|
a6ad1dada3 |
@@ -5,8 +5,6 @@ release:
|
|||||||
github:
|
github:
|
||||||
owner: belphemur
|
owner: belphemur
|
||||||
name: CBZOptimizer
|
name: CBZOptimizer
|
||||||
ids:
|
|
||||||
- cbzoptimizer
|
|
||||||
archives:
|
archives:
|
||||||
- ids:
|
- ids:
|
||||||
- cbzoptimizer
|
- cbzoptimizer
|
||||||
|
|||||||
@@ -24,7 +24,6 @@ COPY ${TARGETPLATFORM}/CBZOptimizer ${APP_PATH}
|
|||||||
|
|
||||||
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
||||||
--mount=type=cache,target=/var/lib/apt,sharing=locked \
|
--mount=type=cache,target=/var/lib/apt,sharing=locked \
|
||||||
--mount=type=bind,source=${TARGETPLATFORM},target=/tmp/target \
|
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get full-upgrade -y && \
|
apt-get full-upgrade -y && \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
@@ -32,10 +31,14 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
|||||||
bash \
|
bash \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
bash-completion && \
|
bash-completion && \
|
||||||
/tmp/target/encoder-setup && \
|
|
||||||
chmod +x ${APP_PATH} && \
|
chmod +x ${APP_PATH} && \
|
||||||
${APP_PATH} completion bash > /etc/bash_completion.d/CBZOptimizer.bash
|
${APP_PATH} completion bash > /etc/bash_completion.d/CBZOptimizer.bash
|
||||||
|
|
||||||
|
|
||||||
USER ${USER}
|
USER ${USER}
|
||||||
|
|
||||||
|
# Need to run as the user to have the right config folder created
|
||||||
|
RUN --mount=type=bind,source=${TARGETPLATFORM},target=/tmp/target \
|
||||||
|
/tmp/target/encoder-setup
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/local/bin/CBZOptimizer"]
|
ENTRYPOINT ["/usr/local/bin/CBZOptimizer"]
|
||||||
|
|||||||
Reference in New Issue
Block a user