Skip to content

Commit 0f44d67

Browse files
committed
Upgrade Dockerfile to leap 15.6
As EOL comes closer for openSUSE Leap 15.5 (https://en.opensuse.org/Lifetime) an update is needed. ``busybox-util-linux`` and ``busybox-vi`` had to be removed as they don't exist anymore. Busybox was added but hexdump was not provided by the vendor. As busybox was compiled "properly" hexdump can be added by just linking to it. This fixes #2563
1 parent 656726e commit 0f44d67

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker.io/docker/dockerfile:1
22

3-
ARG LEAP_VERSION=15.5
3+
ARG LEAP_VERSION=15.6
44
ARG INSTALL_ROOT=/rootfs
55

66
FROM opensuse/leap:${LEAP_VERSION} as builder
@@ -18,7 +18,8 @@ RUN source /etc/os-release \
1818
&& zypper "${ZYPPER_OPTIONS[@]}" --gpg-auto-import-keys refresh \
1919
&& rpm -e util-linux --nodeps \
2020
&& zypper "${ZYPPER_OPTIONS[@]}" --non-interactive install --download-in-advance --no-recommends \
21-
bash procps grep gawk sed coreutils busybox-util-linux busybox-vi ldns libidn2-0 socat openssl curl \
21+
bash procps grep gawk sed coreutils busybox ldns libidn2-0 socat openssl curl \
22+
&& ln -s /usr/bin/busybox /usr/bin/hexdump \
2223
&& zypper up -y \
2324
&& zypper "${ZYPPER_OPTIONS[@]}" clean --all
2425
## Cleanup (reclaim approx 13 MiB):

0 commit comments

Comments
 (0)