1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-25 01:38:08 +00:00
gns3-server/Dockerfile

23 lines
562 B
Docker
Raw Normal View History

FROM python:3.6-alpine3.11
2017-02-13 10:39:21 +00:00
WORKDIR /gns3server
2017-02-13 10:39:21 +00:00
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONBUFFERED 1
2017-02-13 10:39:21 +00:00
COPY ./requirements.txt /gns3server/requirements.txt
2017-02-13 10:39:21 +00:00
RUN set -eux \
&& apk add --no-cache --virtual .build-deps build-base \
gcc libc-dev musl-dev linux-headers python3-dev \
vpcs qemu libvirt ubridge \
&& pip install --upgrade pip setuptools wheel \
&& pip install -r /gns3server/requirements.txt \
&& rm -rf /root/.cache/pip
2018-03-12 06:38:50 +00:00
COPY . /gns3server
RUN python3 setup.py install