Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change dockerfile to fix memory issue #21

Merged
merged 1 commit into from
Mar 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 13 additions & 17 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
FROM debian AS builder
FROM --platform=linux/amd64 debian AS builder
WORKDIR /code
RUN apt update -y
RUN apt install -y curl \
build-essential \
libunwind-dev \
libssl-dev \
lldb \
pkg-config \
binutils-dev \
git
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y --default-toolchain nightly
ENV PATH="/root/.cargo/bin:${PATH}"
RUN apt update \
&& apt install curl -y \
&& curl https://sh.rustup.rs -sSf | bash -s -- -y \
&& apt-get update \
&& apt-get install -y \
build-essential \
libunwind-dev \
libssl-dev \
lldb \
pkg-config \
binutils-dev \
&& apt-get clean \
&& apt install git -y \
&& cargo install honggfuzz \
&& cargo install cargo-fuzz \
&& rustup toolchain install nightly
RUN cargo install honggfuzz
RUN cargo install cargo-fuzz

RUN git clone https://github.com/lambdaclass/fuzzing_examples.git