Skip to content

Commit e5841d0

Browse files
change dockerfile to fix memory issue (#21)
Co-authored-by: dafifynn <[email protected]>
1 parent e80680a commit e5841d0

File tree

1 file changed

+13
-17
lines changed

1 file changed

+13
-17
lines changed

Dockerfile

+13-17
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,17 @@
1-
FROM debian AS builder
1+
FROM --platform=linux/amd64 debian AS builder
22
WORKDIR /code
3+
RUN apt update -y
4+
RUN apt install -y curl \
5+
build-essential \
6+
libunwind-dev \
7+
libssl-dev \
8+
lldb \
9+
pkg-config \
10+
binutils-dev \
11+
git
12+
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y --default-toolchain nightly
313
ENV PATH="/root/.cargo/bin:${PATH}"
4-
RUN apt update \
5-
&& apt install curl -y \
6-
&& curl https://sh.rustup.rs -sSf | bash -s -- -y \
7-
&& apt-get update \
8-
&& apt-get install -y \
9-
build-essential \
10-
libunwind-dev \
11-
libssl-dev \
12-
lldb \
13-
pkg-config \
14-
binutils-dev \
15-
&& apt-get clean \
16-
&& apt install git -y \
17-
&& cargo install honggfuzz \
18-
&& cargo install cargo-fuzz \
19-
&& rustup toolchain install nightly
14+
RUN cargo install honggfuzz
15+
RUN cargo install cargo-fuzz
2016

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

0 commit comments

Comments
 (0)