Dockerfile 676 B

1234567891011121314151617181920
  1. FROM library/node:lts-bookworm
  2. WORKDIR /app
  3. RUN apt-get update && \
  4. apt-get install -y nodejs nasm gdb unzip p7zip-full openjdk-17-jre wget python3 qemu-system-x86 git git-core build-essential libc6-dev-i386-cross libc6-dev-i386 clang curl time
  5. RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
  6. RUN /root/.cargo/bin/rustup toolchain install stable && \
  7. /root/.cargo/bin/rustup target add wasm32-unknown-unknown && \
  8. /root/.cargo/bin/rustup component add rustfmt-preview && \
  9. /root/.cargo/bin/rustup update && /root/.cargo/bin/rustup update nightly
  10. RUN git clone https://github.com/copy/v86
  11. WORKDIR /app/v86
  12. ENV PATH="$PATH:/root/.cargo/bin"
  13. RUN make all