-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
40 lines (29 loc) · 916 Bytes
/
Dockerfile
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
32
33
34
35
36
37
38
39
40
# Download base image ubuntu 22.04
FROM ubuntu:22.04
# LABEL about the custom image
LABEL maintainer="[email protected]"
LABEL version="0.1"
LABEL description="This is AHC development environment"
# Disable Prompt During Packages Installation
ARG DEBIAN_FRONTEND=noninteractive
# Update Ubuntu Software repository
RUN apt update
RUN apt -y install openvswitch-switch \
python3 \
python3-pip \
build-essential \
git \
texlive-latex-extra \
latexmk \
locales
RUN locale-gen en_US.UTF-8 && \
echo "LANG=en_US.UTF-8" > /etc/default/locale
RUN git clone https://github.com/cengwins/ahc && \
cd ahc && \
pip3 install -r requirements.txt
RUN pip3 install adhoccomputing
ENV HOME /root
WORKDIR /root
COPY . .
WORKDIR /root/code
CMD ["sleep", "infinity"]