-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (21 loc) · 987 Bytes
/
Dockerfile
File metadata and controls
30 lines (21 loc) · 987 Bytes
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
FROM dorowu/ubuntu-desktop-lxde-vnc
# Add the GPG key for the Google Chrome repository
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
# Update the package lists and install Python 3.10, Python3-pip, curl, and other necessary tools
RUN apt-get update && apt-get install -y software-properties-common
RUN add-apt-repository ppa:deadsnakes/ppa
RUN apt-get update && apt-get install -y python3.10 python3-pip python3.10-dev python3.10-distutils unzip nano curl libgraphviz-dev
# Update pip for Python 3.10
RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10
# Install the fuzzingbook package
RUN python3.10 -m pip install fuzzingbook jupyterlab gcovr
# Create a directory where you want to store your data
RUN mkdir /app
# Set the working directory
WORKDIR /app
# Add the project1 folder to the root directory
ADD project1 /root/project1
# Execute the makefile
RUN cd /root/project1 && make clean && make
# Expose port 80
EXPOSE 80