Skip to content

Commit

Permalink
debug: do not install packages on riscv
Browse files Browse the repository at this point in the history
a2b6085 ("debug: add all packages required for the collect-info to the Dockerfile")
breaks build for the riscv arch. For some unknown reason
many packets are missing for the alpine 3.18 for the riscv
architecture. In order not to break the build just don't
install them for the riscv.

Signed-off-by: Roman Penyaev <r.peniaev@gmail.com>
  • Loading branch information
rouming authored and eriknordmark committed Sep 20, 2023
1 parent b3bdbc6 commit 694a829
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkg/debug/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@ ENV BUILD_PKGS abuild curl tar make linux-headers patch g++ git gcc ncurses-dev
# forget to check on all supported architectures: e.g. arm64
# binaries are typically larger and amd64 ones).
# RUN apk add --no-cache gdb valgrind
ENV PKGS openssl openssh-client openssh-server tini util-linux ca-certificates pciutils usbutils vim tcpdump perf strace iproute2-minimal curl procps tar dmidecode iptables dhcpcd
ENV PKGS openssl openssh-client openssh-server tini util-linux ca-certificates pciutils usbutils vim tcpdump perf strace iproute2-minimal curl

# These packages are not available on the riscv arch, so I have no idea how
# deliver those, but still install them on other archs.
ENV PKGS_amd64 procps tar dmidecode iptables dhcpcd
ENV PKGS_arm64 procps tar dmidecode iptables dhcpcd

RUN eve-alpine-deploy.sh

ENV LSHW_VERSION 02.19.2
Expand Down

0 comments on commit 694a829

Please sign in to comment.