gns3-server/Dockerfile

38 lines
784 B
Docker
Raw Normal View History

2021-12-17 03:50:46 +02:00
FROM ubuntu:focal
2017-02-13 12:39:21 +02:00
WORKDIR /gns3server
2017-02-13 12:39:21 +02:00
2021-12-17 03:50:46 +02: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 12:39:21 +02:00
COPY ./requirements.txt /gns3server/requirements.txt
2017-02-13 12:39:21 +02:00
2021-12-17 03:50:46 +02: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 08:38:50 +02:00
COPY . /gns3server
2021-12-17 03:50:46 +02:00
RUN mkdir -p ~/.config/GNS3/3.0/
RUN cp scripts/gns3_server.conf ~/.config/GNS3/3.0/
2023-03-21 10:56:00 +02:00
RUN python3 -m pip install .