Skip to content

Commit

Permalink
Reduce pkg/debug size by ~8Mb
Browse files Browse the repository at this point in the history
- Remove VIM, it consumes 7 860 224 bytes in final rootfs.
vi is still available and usable (supports cursor keys)

Signed-off-by: Mikhail Malyshev <[email protected]>
  • Loading branch information
rucoder committed Oct 8, 2024
1 parent 65d8044 commit fd9dcb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/debug/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ENV BUILD_PKGS="abuild curl tar make linux-headers patch g++ git gcc gpg ncurses
# 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 tini util-linux ca-certificates pciutils usbutils vim tcpdump perf strace iproute2-minimal curl zlib"
ENV PKGS="openssl tini util-linux ca-certificates pciutils usbutils tcpdump perf strace iproute2-minimal curl zlib"

# These packages are not available on the riscv arch, so I have no idea how
# deliver those, but still install them on other archs.
Expand Down

0 comments on commit fd9dcb7

Please sign in to comment.