mirror of
https://github.com/Belphemur/CBZOptimizer.git
synced 2026-01-12 00:26:26 +01:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
12817b1bff | ||
|
|
19dcf9d40b | ||
|
|
a7fa5bd0c7 |
@@ -5,6 +5,7 @@ ARG APP_PATH=/usr/local/bin/CBZOptimizer
|
|||||||
ENV USER=abc
|
ENV USER=abc
|
||||||
ENV CONFIG_FOLDER=/config
|
ENV CONFIG_FOLDER=/config
|
||||||
ENV PUID=99
|
ENV PUID=99
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends adduser && \
|
RUN apt-get update && apt-get install -y --no-install-recommends adduser && \
|
||||||
addgroup --system users && \
|
addgroup --system users && \
|
||||||
@@ -15,13 +16,17 @@ RUN apt-get update && apt-get install -y --no-install-recommends adduser && \
|
|||||||
--ingroup users \
|
--ingroup users \
|
||||||
--disabled-password \
|
--disabled-password \
|
||||||
"${USER}" && \
|
"${USER}" && \
|
||||||
apt-get purge -y --auto-remove adduser
|
apt-get purge -y --auto-remove adduser && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY ${TARGETPLATFORM}/CBZOptimizer ${APP_PATH}
|
COPY ${TARGETPLATFORM}/CBZOptimizer ${APP_PATH}
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && \
|
||||||
|
apt-get full-upgrade -y && \
|
||||||
|
apt-get install -y --no-install-recommends \
|
||||||
inotify-tools \
|
inotify-tools \
|
||||||
bash \
|
bash \
|
||||||
|
ca-certificates \
|
||||||
bash-completion && \
|
bash-completion && \
|
||||||
rm -rf /var/lib/apt/lists/* && \
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
chmod +x ${APP_PATH} && \
|
chmod +x ${APP_PATH} && \
|
||||||
|
|||||||
Reference in New Issue
Block a user