diff options
author | Yuqian Yang <crupest@outlook.com> | 2025-06-29 15:24:32 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@outlook.com> | 2025-06-29 15:24:32 +0800 |
commit | fcddceaa4613f07ca1cf62893168b080d349f1f5 (patch) | |
tree | 84f36e38ecbb473322ca7622a6f50350356be56b | |
parent | 66a0836ba12ed12c29353ae75134654c6f2013cc (diff) | |
download | crupest-fcddceaa4613f07ca1cf62893168b080d349f1f5.tar.gz crupest-fcddceaa4613f07ca1cf62893168b080d349f1f5.tar.bz2 crupest-fcddceaa4613f07ca1cf62893168b080d349f1f5.zip |
debian-dev: reduce layers.
-rw-r--r-- | store/debian-dev/Dockerfile | 8 |
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} |