Skip to content

Commit

Permalink
Don't install busybox
Browse files Browse the repository at this point in the history
Signed-off-by: Carsten Munk <[email protected]>
  • Loading branch information
stskeeps committed Apr 26, 2024
1 parent aef3479 commit 953e563
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ FROM --platform=linux/riscv64 scratch AS riscv-base
COPY --from=extracted-rootfs /rootfs /
RUN printf "deb [check-valid-until=no] https://snapshot.ubuntu.com/ubuntu/20231201T000000Z jammy main restricted universe multiverse\ndeb [check-valid-until=no] https://snapshot.ubuntu.com/ubuntu/20231201T000000Z jammy-updates main restricted universe multiverse\n" > /etc/apt/sources.list
RUN mkdir -p /mirror && cd /mirror && apt-get update --print-uris | cut -d "'" -f 2 | wget -nv --mirror -i - || true && cd /
RUN cd /mirror && apt-get update && apt-get install -qq --print-uris --no-install-recommends containerd fuse3 crun curl busybox strace jq | cut -d "'" -f 2 | wget -nv --mirror -i - || true && cd /
RUN cd /mirror && apt-get update && apt-get install -qq --print-uris --no-install-recommends containerd fuse3 crun curl strace jq | cut -d "'" -f 2 | wget -nv --mirror -i - || true && cd /

FROM build AS aptget-setup
RUN rm -rf /tool-image
Expand Down
2 changes: 1 addition & 1 deletion install-pkgs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ cp /mnt/ipfs-config /etc/ipfs-config
echo -n "root:cartesi" | chpasswd
printf "deb [check-valid-until=no] file:/mnt/mirror/snapshot.ubuntu.com/ubuntu/20231201T000000Z jammy main restricted universe multiverse\ndeb [check-valid-until=no] file:/mnt/mirror/snapshot.ubuntu.com/ubuntu/20231201T000000Z jammy-updates main restricted universe multiverse" > /etc/apt/sources.list
apt-get update
apt-get install --no-install-recommends -y containerd curl busybox strace fuse3 jq
apt-get install --no-install-recommends -y containerd curl strace fuse3 jq

rm -rf /var/lib/apt/lists/*
apt-get clean

0 comments on commit 953e563

Please sign in to comment.