2 =========================================================
4 For building Alpine Linux dev packages, we use docker.
6 Install docker 17.05 or later
7 -----------------------------
9 Depending on your host, there are different ways of installing docker. Refer
10 to the documentation here for instructions on how to install a free version of
11 docker: https://www.docker.com/community-edition
18 git clone https://github.com/frrouting/frr.git frr
26 ./docker/alpine/build.sh
28 This will put the apk packages in:
32 ./docker/pkgs/apk/x86_64/
37 To create a base image with the frr packages installed:
41 docker build --rm -f docker/alpine/Dockerfile -t frr:latest .
43 Or, if you don't have a git checkout of the sources, you can build a base
44 image directly off the github account:
48 docker build --rm -f docker/alpine/Dockerfile -t frr:latest \
49 https://github.com/frrouting/frr.git
55 docker run -it --rm frr:latest /bin/sh
57 Currently, we only package the raw daemons and example files, so, you'll
58 need to run the daemons by hand (or, better, orchestrate in the Dockerfile).
60 We can also build directly from docker-compose, with a docker-compose.yml file
70 context: https://github.com/frrouting/frr.git
71 dockerfile: docker/alpine/Dockerfile