File tree Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Original file line number Diff line number Diff line change 23
23
tar xf \
24
24
/rootfs.tar.gz -C \
25
25
/root-out && \
26
- echo "path-exclude=/usr/share/man/*" > /root-out/etc/dpkg/dpkg.cfg.d/excludes && \
27
- echo "path-exclude=/usr/share/locale/*/LC_MESSAGES/*.mo" >> /root-out/etc/dpkg/dpkg.cfg.d/excludes && \
28
- echo "path-exclude=/usr/share/doc/*" >> /root-out/etc/dpkg/dpkg.cfg.d/excludes && \
29
- echo "path-include=/usr/share/doc/*/copyright" >> /root-out/etc/dpkg/dpkg.cfg.d/excludes && \
30
26
rm -rf \
31
27
/root-out/var/log/*
32
28
@@ -122,10 +118,6 @@ RUN \
122
118
echo "deb-src http://security.debian.org/debian-security/ bullseye-security main contrib non-free" >> /etc/apt/sources.list && \
123
119
echo "**** generate locale ****" && \
124
120
locale-gen en_US.UTF-8 && \
125
- rm -Rf /usr/share/locale && \
126
- mv /usr/share/i18n/locales/en_US /tmp/ && \
127
- rm -Rf /usr/share/i18n/locales/* && \
128
- mv /tmp/en_US /usr/share/i18n/locales/ && \
129
121
echo "**** create abc user and make our folders ****" && \
130
122
useradd -u 911 -U -d /config -s /bin/false abc && \
131
123
usermod -G users abc && \
Original file line number Diff line number Diff line change 23
23
tar xf \
24
24
/rootfs.tar.gz -C \
25
25
/root-out && \
26
- echo "path-exclude=/usr/share/man/*" > /root-out/etc/dpkg/dpkg.cfg.d/excludes && \
27
- echo "path-exclude=/usr/share/locale/*/LC_MESSAGES/*.mo" >> /root-out/etc/dpkg/dpkg.cfg.d/excludes && \
28
- echo "path-exclude=/usr/share/doc/*" >> /root-out/etc/dpkg/dpkg.cfg.d/excludes && \
29
- echo "path-include=/usr/share/doc/*/copyright" >> /root-out/etc/dpkg/dpkg.cfg.d/excludes && \
30
26
rm -rf \
31
27
/root-out/var/log/*
32
28
@@ -122,10 +118,6 @@ RUN \
122
118
echo "deb-src http://security.debian.org/debian-security/ bullseye-security main contrib non-free" >> /etc/apt/sources.list && \
123
119
echo "**** generate locale ****" && \
124
120
locale-gen en_US.UTF-8 && \
125
- rm -Rf /usr/share/locale && \
126
- mv /usr/share/i18n/locales/en_US /tmp/ && \
127
- rm -Rf /usr/share/i18n/locales/* && \
128
- mv /tmp/en_US /usr/share/i18n/locales/ && \
129
121
echo "**** create abc user and make our folders ****" && \
130
122
useradd -u 911 -U -d /config -s /bin/false abc && \
131
123
usermod -G users abc && \
You can’t perform that action at this time.
0 commit comments