1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-26 16:58:28 +00:00
gns3-server/Dockerfile

38 lines
784 B
Docker
Raw Normal View History

2021-12-17 01:50:46 +00:00
FROM ubuntu:focal
2017-02-13 10:39:21 +00:00
WORKDIR /gns3server
2017-02-13 10:39:21 +00:00
2021-12-17 01:50:46 +00:00
RUN apt update && DEBIAN_FRONTEND=noninteractive apt install -y \
locales \
locales-all
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
2017-02-13 10:39:21 +00:00
COPY ./requirements.txt /gns3server/requirements.txt
2017-02-13 10:39:21 +00:00
2021-12-17 01:50:46 +00:00
RUN DEBIAN_FRONTEND=noninteractive apt install -y \
locales \
software-properties-common \
python3-pip \
python3-all \
python3-setuptools \
python3-dev \
busybox-static \
gcc \
qemu-kvm \
libvirt-daemon-system
RUN add-apt-repository ppa:gns3/ppa && apt update && DEBIAN_FRONTEND=noninteractive apt install -y \
vpcs \
ubridge \
dynamips
2018-03-12 06:38:50 +00:00
COPY . /gns3server
2021-12-17 01:50:46 +00:00
RUN mkdir -p ~/.config/GNS3/3.0/
RUN cp scripts/gns3_server.conf ~/.config/GNS3/3.0/
RUN python3 setup.py install