summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authormtudosoiu <marian.tudosoiu@1and1.ro>2018-02-21 15:26:44 +0200
committerGitHub <noreply@github.com>2018-02-21 15:26:44 +0200
commit91d04073643f249d10ba8ac7249bbce9306b59c7 (patch)
treea6ab75b17bcb138583435d7db09b7c808ea56887 /README.md
parent428c73d96ff745ba61ba834d9d2a42d5dc8ed5cd (diff)
downloadvyos-build-91d04073643f249d10ba8ac7249bbce9306b59c7.tar.gz
vyos-build-91d04073643f249d10ba8ac7249bbce9306b59c7.zip
update R
Diffstat (limited to 'README.md')
-rw-r--r--README.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/README.md b/README.md
index 2b1f5a12..fb68595a 100644
--- a/README.md
+++ b/README.md
@@ -47,6 +47,30 @@ To build a VyOS image, you need a machine that runs Debian Jessie. Other build h
Several packages are required for building the ISO and all packages, namely python3, live-build, pbuilder, python3-pystache and devscripts.
Individual packages may have other build dependencies. If some packages are missing, build scripts will tell you.
+## Building the ISO image inside a docker container
+
+Using Dockerfile you can create your own docker container that can be used to build a VyOS ISO image.
+The Dockerfile contains some of the most used packages needed for a VyOs build ISO process.
+
+To build the docker image
+
+```
+docker build -t vyos-builder $PATH_TO_Dockerfile
+```
+
+To run and the docker image once is created:
+
+```
+docker run --privileged -v /HOST_PATH/images:/vyos --name=vyos_node_builder -d vyos-builder bash
+```
+
+To connect to the docker image once is running:
+```
+docker exec -it vyos_node_builder bash
+```
+
+After the docker container is running you can git clone the vyos-build repository inside the container
+and follow up the bellow instructions in order to build the VyOs ISO image
## Building the ISO image