parent
5064d3073c
commit
fc309b7ee0
|
@ -19,7 +19,6 @@ RUN source /etc/os-release \
|
||||||
&& rpm -e util-linux --nodeps \
|
&& rpm -e util-linux --nodeps \
|
||||||
&& zypper "${ZYPPER_OPTIONS[@]}" --non-interactive install --download-in-advance --no-recommends \
|
&& zypper "${ZYPPER_OPTIONS[@]}" --non-interactive install --download-in-advance --no-recommends \
|
||||||
bash procps grep gawk sed coreutils busybox ldns libidn2-0 socat openssl curl \
|
bash procps grep gawk sed coreutils busybox ldns libidn2-0 socat openssl curl \
|
||||||
&& ln -s /usr/bin/busybox /usr/bin/hexdump \
|
|
||||||
&& zypper up -y \
|
&& zypper up -y \
|
||||||
&& zypper "${ZYPPER_OPTIONS[@]}" clean --all
|
&& zypper "${ZYPPER_OPTIONS[@]}" clean --all
|
||||||
## Cleanup (reclaim approx 13 MiB):
|
## Cleanup (reclaim approx 13 MiB):
|
||||||
|
@ -36,6 +35,7 @@ ARG INSTALL_ROOT
|
||||||
COPY --link --from=builder ${INSTALL_ROOT} /
|
COPY --link --from=builder ${INSTALL_ROOT} /
|
||||||
# Link busybox to tar, see #2403. Create user + (home with SGID set):
|
# Link busybox to tar, see #2403. Create user + (home with SGID set):
|
||||||
RUN ln -s /usr/bin/busybox /usr/bin/tar \
|
RUN ln -s /usr/bin/busybox /usr/bin/tar \
|
||||||
|
&& ln -s /usr/bin/busybox /usr/bin/hexdump \
|
||||||
&& echo 'testssl:x:1000:1000::/home/testssl:/bin/bash' >> /etc/passwd \
|
&& echo 'testssl:x:1000:1000::/home/testssl:/bin/bash' >> /etc/passwd \
|
||||||
&& echo 'testssl:x:1000:' >> /etc/group \
|
&& echo 'testssl:x:1000:' >> /etc/group \
|
||||||
&& echo 'testssl:!::0:::::' >> /etc/shadow \
|
&& echo 'testssl:!::0:::::' >> /etc/shadow \
|
||||||
|
|
Loading…
Reference in New Issue