forked from futurewei-cloud/Distrinet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
13 lines (13 loc) · 665 Bytes
/
Dockerfile
File metadata and controls
13 lines (13 loc) · 665 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
# docker build -t distrinet:1.1 .
FROM ubuntu:18.04
MAINTAINER Giuseppe Di Lena (giuseppedilena92@gmail.com)
RUN apt-get update && apt-get upgrade -y && apt-get install -y software-properties-common vim build-essential python3.6 python3-pip git
# update pip
RUN python3.6 -m pip install pip --upgrade
WORKDIR /
RUN git clone https://github.com/Giuseppe1992/Distrinet
WORKDIR /Distrinet
ENV PYTHONPATH "${PYTHONPATH}:/Distrinet/mininet/mininet"
RUN pip install -r requirements.txt && python3.6 setup.py install
RUN mkdir -p ~/.aws && echo "[default]\naws_access_key_id=XXXXXXXXXXXXXXXX\naws_secret_access_key=YYYYYYYYYYYYYYYYYYYY">> ~/.aws/credentials
CMD /bin/bash