Skip to content

Commit

Permalink
Update requirements and Dockerfile for C++ code support
Browse files Browse the repository at this point in the history
  • Loading branch information
yuki0iq committed Mar 26, 2024
1 parent 1ed8da9 commit 72def98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM alpine as builder

RUN \
apk update && \
apk add bash binutils curl gcc git linux-headers make musl-dev nasm ruby-dev python3 && \
apk add bash binutils curl g++ git linux-headers make musl-dev nasm ruby-dev python3 linux-headers && \
gem install seccomp-tools && \
curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | \
bash -s -- \
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@ For aarch64, or if you don't want to use Docker, you will need to install the fo
- Target `<target>-unknown-linux-musl`, provided by e.g. `rustup +nightly target add x86_64-unknown-linux-musl`,
- Component `rust-src`, provided by `rustup component add rust-src`
- GNU make
- GCC
- GNU C++ compiler, provided on Ubuntu by `g++`
- Linux userspace headers, provided on Ubuntu as `libc6-dev`, on Arch Linux as `linux-api-headers`, and on Alpine as `linux-headers`
- binutils
- Python 3
- `musl-gcc`, provided on Ubuntu by `musl-tools`
- `ruby`, provided on ubuntu by `ruby`
- `ruby`, provided on Ubuntu by `ruby`
- `gem`, provided on Ubuntu by `ruby-rubygems`
- Ruby headers, provided on Ubuntu by `ruby-dev`
- `seccomp-tools`, provided by `gem install seccomp-tools`
- `nasm`, provided on Ubuntu by `nasm`
- (aarch64 only) Linux headers, provided on Ubuntu by `linux-headers-$(uname -r)`,
- (aarch64 only) Linux kernel headers, provided on Ubuntu by `linux-headers-$(uname -r)`,
- (sandbox-tests only) `musl-gcc`, provided on Ubuntu by `musl-tools`

To build sunwalker-box, use:

Expand Down

0 comments on commit 72def98

Please sign in to comment.