Skip to content

Commit

Permalink
feat: pin packages version in rootfs
Browse files Browse the repository at this point in the history
  • Loading branch information
vfusco committed Dec 3, 2023
1 parent 1a7c69f commit e7c2d99
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions control.template
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ Priority: optional
Architecture: riscv64
Maintainer: Machine Reference Unit <https://discord.com/channels/600597137524391947/1107965671976992878>
Provides: machine-emulator-tools
Depends: busybox-static (= 1:1.30.1-7ubuntu3)
Multi-Arch: foreign
Description: The Cartesi Machine Emulator Tools a repository that contains a set of tools developed for the RISC-V Linux OS.
15 changes: 10 additions & 5 deletions fs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@ ADD ${TOOLS_DEB} /tmp/
RUN apt-get update && \
apt-get install -y --no-install-recommends \
busybox-static=1:1.30.1-7ubuntu3 \
coreutils=8.32-4.1ubuntu1 \
bash=5.1-6ubuntu1 \
bc=1.07.1-3build1 \
ca-certificates=20230311ubuntu0.22.04.1 \
curl=7.81.0-1ubuntu1.14 \
/tmp/${TOOLS_DEB} \
python3 \
python3-requests && \
rm -rf /tmp/${TOOLS_DEB} && \
rm -rf /var/lib/apt/lists/*
device-tree-compiler=1.6.1-1 \
jq=1.6-2.1ubuntu3 \
lua5.4=5.4.4-1 \
python3=3.10.6-1~22.04 \
python3-requests=2.25.1+dfsg-2ubuntu0.1 \
/tmp/${TOOLS_DEB} && \
rm -rf /var/lib/apt/lists/* /tmp/${TOOLS_DEB}
RUN useradd --create-home --user-group dapp

0 comments on commit e7c2d99

Please sign in to comment.