diff --git a/support/docker/Dockerfile b/support/docker/Dockerfile deleted file mode 100644 index 861a2d6bb..000000000 --- a/support/docker/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -# -# NextEPC Dockerfile -# -# https://github.com/acetcom/nextepc -# - -# Pull base image. -FROM ubuntu:latest - -# Install NextEPC. -RUN \ - apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv F26B05AF && \ - echo 'deb http://ppa.launchpad.net/acetcom/nextepc/ubuntu xenial main' > /etc/apt/sources.list.d/nextepc.list && \ - apt-get update && \ - apt-get install -y nextepc - -# Define working directory. -WORKDIR /root diff --git a/support/docker/README.md b/support/docker/README.md index 339f9f789..7d594595c 100644 --- a/support/docker/README.md +++ b/support/docker/README.md @@ -1,6 +1,11 @@ -NextEPC docker +WebUI & MongoDB +=========================================== +* docker-compose up + +Ubuntu Package =========================================== +* cd sample * docker build -t nextepc . * docker run --net=host --hostname nextepc -ti --name nextepc --privileged --cap-add=SYS_ADMIN -e "container=docker" -v /sys/fs/cgroup:/sys/fs/cgroup -v $PWD:/mnt nextepc /sbin/init * docker exec -it /bin/bash diff --git a/support/docker/sample/Dockerfile b/support/docker/sample/Dockerfile new file mode 100644 index 000000000..dbfb2af55 --- /dev/null +++ b/support/docker/sample/Dockerfile @@ -0,0 +1,9 @@ +FROM ubuntu:16.04 + +RUN \ + apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv F26B05AF && \ + echo "deb http://ppa.launchpad.net/acetcom/nextepc/ubuntu xenial main" > /etc/apt/sources.list.d/nextepc.list && \ + apt-get update && \ + apt-get install -y nextepc + +WORKDIR /root