summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2019-06-20 18:59:26 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-06-20 18:59:26 +0200
commit0a45032e84d623a039a24cc2411c4fd4f6808308 (patch)
treebb16b14703b0f5bd9ee931e1911ccb52c41c5570 /docker
parentMerge pull request #4557 from dslicenc/zebra_rnh_eval (diff)
downloadfrr-0a45032e84d623a039a24cc2411c4fd4f6808308.tar.xz
frr-0a45032e84d623a039a24cc2411c4fd4f6808308.zip
docker: cleanup Debian docker build
* Update build instructions * Remove manually installed daemons file Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'docker')
-rw-r--r--docker/debian/Dockerfile1
-rw-r--r--docker/debian/README.md11
-rw-r--r--docker/debian/daemons65
3 files changed, 7 insertions, 70 deletions
diff --git a/docker/debian/Dockerfile b/docker/debian/Dockerfile
index fde29d491..6ffdd0ccb 100644
--- a/docker/debian/Dockerfile
+++ b/docker/debian/Dockerfile
@@ -9,6 +9,5 @@ RUN curl -s https://deb.frrouting.org/frr/keys.asc | apt-key add -
RUN echo deb https://deb.frrouting.org/frr $(lsb_release -s -c) frr-stable | tee -a /etc/apt/sources.list.d/frr.list
RUN apt-get update
RUN apt-get install -y frr frr-pythontools
-ADD daemons /etc/frr/daemons
ADD docker-start /usr/sbin/docker-start
ENTRYPOINT ["/usr/sbin/docker-start"]
diff --git a/docker/debian/README.md b/docker/debian/README.md
index b10d696a7..3c1209bc9 100644
--- a/docker/debian/README.md
+++ b/docker/debian/README.md
@@ -1,14 +1,17 @@
-# Debian9 Docker
-This is a binary docker container build of debian9.
+# Debian 10 Docker
+
+This is a binary docker container build of Debian 10 (buster) with FRR.
# Build
+
```
-docker build --rm -t frr:6.0.2 .
+docker build -t frr-debian:latest .
```
# Running
+
```
-docker run -itd --privileged --name frr frr:latest
+docker run -itd --privileged --name frr frr-debian:latest
```
vtysh
diff --git a/docker/debian/daemons b/docker/debian/daemons
deleted file mode 100644
index ed4d98e1f..000000000
--- a/docker/debian/daemons
+++ /dev/null
@@ -1,65 +0,0 @@
-# This file tells the frr package which daemons to start.
-#
-# Sample configurations for these daemons can be found in
-# /usr/share/doc/frr/examples/.
-#
-# ATTENTION:
-#
-# When activation a daemon at the first time, a config file, even if it is
-# empty, has to be present *and* be owned by the user and group "frr", else
-# the daemon will not be started by /etc/init.d/frr. The permissions should
-# be u=rw,g=r,o=.
-# When using "vtysh" such a config file is also needed. It should be owned by
-# group "frrvty" and set to ug=rw,o= though. Check /etc/pam.d/frr, too.
-#
-# The watchfrr and zebra daemons are always started.
-#
-bgpd=yes
-ospfd=no
-ospf6d=no
-ripd=no
-ripngd=no
-isisd=no
-pimd=no
-ldpd=no
-nhrpd=no
-eigrpd=no
-babeld=no
-sharpd=no
-pbrd=no
-bfdd=no
-fabricd=no
-
-#
-# If this option is set the /etc/init.d/frr script automatically loads
-# the config via "vtysh -b" when the servers are started.
-# Check /etc/pam.d/frr if you intend to use "vtysh"!
-#
-vtysh_enable=yes
-zebra_options=" -A 127.0.0.1 -s 90000000"
-bgpd_options=" -A 127.0.0.1"
-ospfd_options=" -A 127.0.0.1"
-ospf6d_options=" -A ::1"
-ripd_options=" -A 127.0.0.1"
-ripngd_options=" -A ::1"
-isisd_options=" -A 127.0.0.1"
-pimd_options=" -A 127.0.0.1"
-ldpd_options=" -A 127.0.0.1"
-nhrpd_options=" -A 127.0.0.1"
-eigrpd_options=" -A 127.0.0.1"
-babeld_options=" -A 127.0.0.1"
-sharpd_options=" -A 127.0.0.1"
-pbrd_options=" -A 127.0.0.1"
-staticd_options="-A 127.0.0.1"
-bfdd_options=" -A 127.0.0.1"
-fabricd_options="-A 127.0.0.1"
-
-# The list of daemons to watch is automatically generated by the init script.
-watchfrr_options="-r '/usr/lib/frr/watchfrr.sh restart %s' -s '/usr/lib/frr/watchfrr.sh start %s' -k '/usr/lib/frr/watchfrr.sh stop %s'"
-
-# for debugging purposes, you can specify a "wrap" command to start instead
-# of starting the daemon directly, e.g. to use valgrind on ospfd:
-# ospfd_wrap="/usr/bin/valgrind"
-# or you can use "all_wrap" for all daemons, e.g. to use perf record:
-# all_wrap="/usr/bin/perf record --call-graph -"
-# the normal daemon command is added to this at the end.