aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuqian Yang <crupest@outlook.com>2025-06-29 15:24:32 +0800
committerYuqian Yang <crupest@outlook.com>2025-06-29 15:24:32 +0800
commitea14473db4ff4ffdf55684a8ae5092b89f1a6e7a (patch)
tree617d2e347c55cbd944f06faf600890f08f9bf004
parenta123d4266935ff9d75a8e32dd29ee965e9eb4d50 (diff)
downloadcrupest-ea14473db4ff4ffdf55684a8ae5092b89f1a6e7a.tar.gz
crupest-ea14473db4ff4ffdf55684a8ae5092b89f1a6e7a.tar.bz2
crupest-ea14473db4ff4ffdf55684a8ae5092b89f1a6e7a.zip
debian-dev: reduce layers.
-rw-r--r--store/debian-dev/Dockerfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/store/debian-dev/Dockerfile b/store/debian-dev/Dockerfile
index 732ffa4..d5e25ba 100644
--- a/store/debian-dev/Dockerfile
+++ b/store/debian-dev/Dockerfile
@@ -8,9 +8,11 @@ ENV CRUPEST_DEBIAN_DEV_USER=${USER}
ENV CRUPEST_DEBIAN_DEV_CHINA=${CHINA}
ADD setup /setup
-RUN env DEBIAN_FRONTEND=noninteractive /setup/apt.bash
-RUN env DEBIAN_FRONTEND=noninteractive /setup/package.bash
-RUN env DEBIAN_FRONTEND=noninteractive /setup/for-container.bash
+RUN export DEBIAN_FRONTEND=noninteractive; \
+ /setup/apt.bash && /setup/package.bash && \
+ /setup/for-container.bash && \
+ rm -rf /var/lib/apt/lists/*
+
ENV LANG=en_US.utf8
USER ${USER}