mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-24 15:58:08 +00:00
3a15839272
`/bin/sh: 1: locale-gen: not found`
37 lines
707 B
Docker
37 lines
707 B
Docker
# Dockerfile for GNS3 server development
|
|
|
|
FROM ubuntu:16.04
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
# Set the locale
|
|
ENV LANG en_US.UTF-8
|
|
ENV LANGUAGE en_US:en
|
|
ENV LC_ALL en_US.UTF-8
|
|
|
|
RUN apt-get update && apt-get install -y software-properties-common
|
|
RUN add-apt-repository ppa:gns3/ppa
|
|
RUN apt-get update && apt-get install -y \
|
|
locales \
|
|
python3-pip \
|
|
python3-dev \
|
|
qemu-system-x86 \
|
|
qemu-system-arm \
|
|
qemu-kvm \
|
|
libvirt-bin \
|
|
x11vnc
|
|
|
|
RUN locale-gen en_US.UTF-8
|
|
|
|
# Install uninstall to install dependencies
|
|
RUN apt-get install -y vpcs ubridge
|
|
|
|
ADD . /server
|
|
WORKDIR /server
|
|
|
|
RUN pip3 install -r /server/requirements.txt
|
|
|
|
EXPOSE 3080
|
|
|
|
CMD python3 -m gns3server --local
|