-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile-24.04
31 lines (21 loc) · 1.14 KB
/
Dockerfile-24.04
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM ubuntu:24.04
WORKDIR /root
RUN apt-get update
RUN apt-get install -y clang libbfd-dev uthash-dev libelf-dev libcapstone-dev libreadline-dev libiberty-dev libgsl-dev build-essential git debootstrap file
# Build wcc & install it
RUN git clone https://github.com/endrazine/wcc.git && cd wcc && git submodule init && git submodule update && make && make install
# Build openssl
RUN git clone https://github.com/openssl/openssl.git || echo ok
RUN cd openssl && git checkout openssl-3.0.6
RUN cd openssl && mkdir -p build-3.0.6
RUN cd openssl/build-3.0.6 && ../Configure && make
RUN cd openssl && git checkout openssl-3.0.7
RUN cd openssl && mkdir -p build-3.0.7
RUN cd openssl/build-3.0.7 && ../Configure && make
RUN cd openssl && git checkout openssl-3.0.8
RUN cd openssl && mkdir -p build-3.0.8
RUN cd openssl/build-3.0.8 && ../Configure && make
RUN apt-get install -y libbpf1 libdbus-1-3 libdevmapper1.02.1 libestr0 libglib2.0-0 libglib2.0-dev libkmod2 libmnl0 libnewt0.52 libpopt0 sudo systemd libxtables12 libfastjson-dev
# Prepare wcc tests
RUN git clone https://github.com/endrazine/wcc-tests.git && cd wcc-tests && make
WORKDIR /root/wcc-tests