mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-18 02:56:36 +00:00
Clean up old debconf
cache files
This commit is contained in:
parent
17a8cf036c
commit
6293625a01
10
Dockerfile
10
Dockerfile
@ -47,7 +47,8 @@ RUN --mount=type=cache,id=apt-lib-cache-${TARGETARCH},sharing=private,target=/va
|
|||||||
locale-gen en_US.UTF-8 && \
|
locale-gen en_US.UTF-8 && \
|
||||||
# Clean up
|
# Clean up
|
||||||
apt-get -y autopurge && \
|
apt-get -y autopurge && \
|
||||||
apt-get -y autoclean
|
apt-get -y autoclean && \
|
||||||
|
rm -f /var/cache/debconf/*.dat-old
|
||||||
|
|
||||||
FROM alpine:${ALPINE_VERSION} AS ffmpeg-download
|
FROM alpine:${ALPINE_VERSION} AS ffmpeg-download
|
||||||
ARG FFMPEG_DATE
|
ARG FFMPEG_DATE
|
||||||
@ -289,7 +290,8 @@ RUN --mount=type=cache,id=apt-lib-cache-${TARGETARCH},sharing=private,target=/va
|
|||||||
useradd -M -d /app -s /bin/false -g app app && \
|
useradd -M -d /app -s /bin/false -g app app && \
|
||||||
# Clean up
|
# Clean up
|
||||||
apt-get -y autopurge && \
|
apt-get -y autopurge && \
|
||||||
apt-get -y autoclean
|
apt-get -y autoclean && \
|
||||||
|
rm -v -f /var/cache/debconf/*.dat-old
|
||||||
|
|
||||||
# Install third party software
|
# Install third party software
|
||||||
COPY --from=s6-overlay / /
|
COPY --from=s6-overlay / /
|
||||||
@ -310,7 +312,8 @@ RUN --mount=type=cache,id=apt-lib-cache-${TARGETARCH},sharing=private,target=/va
|
|||||||
apt-get -y autoremove --purge file && \
|
apt-get -y autoremove --purge file && \
|
||||||
# Clean up
|
# Clean up
|
||||||
apt-get -y autopurge && \
|
apt-get -y autopurge && \
|
||||||
apt-get -y autoclean
|
apt-get -y autoclean && \
|
||||||
|
rm -v -f /var/cache/debconf/*.dat-old
|
||||||
|
|
||||||
# Switch workdir to the the app
|
# Switch workdir to the the app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
@ -362,6 +365,7 @@ RUN --mount=type=tmpfs,target=/cache \
|
|||||||
&& \
|
&& \
|
||||||
apt-get -y autopurge && \
|
apt-get -y autopurge && \
|
||||||
apt-get -y autoclean && \
|
apt-get -y autoclean && \
|
||||||
|
rm -v -f /var/cache/debconf/*.dat-old && \
|
||||||
rm -v -rf /tmp/*
|
rm -v -rf /tmp/*
|
||||||
|
|
||||||
# Copy root
|
# Copy root
|
||||||
|
Loading…
Reference in New Issue
Block a user