-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (21 loc) · 894 Bytes
/
Copy pathDockerfile
File metadata and controls
31 lines (21 loc) · 894 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM ubuntu:14.04
MAINTAINER M Jua Carlos email: unjuca () gmail . com.
# docker build https://github.com/docker/rootfs.git#container:docker
# Update the image with the latest packages
RUN apt-get update -y; apt-get clean all
# Install Quagga Router (and iproute)
RUN apt-get install -y quagga; apt-get clean all
# VOLUME ["/usr/local/sdnbgp:/usr/local/sdnbgp:rw"]
# Add the templates file of the GW Docker files to config
# must be in context in oreder to docker build -t ubu,quag.bgp
#ADD hosts /etc/hosts
ADD quagga/* /etc/quagga/
#RUN chmod a+x /etc/quagga/pingtest.sh
#these do not really overwrite /etc/hosts on time
#COPY hosts /etc/hosts
#RUN head /etc/hosts
#make sure the routers con be managed and they talk bgp/tcp
#EXPOSE 179 2601 2605
ENTRYPOINT [ "/bin/bash" ]
#sudo docker commit 55bb7a386063c213c9 ubu-qua
#docker build - < Dockerfile