mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Task #556 Update README.md
This commit is contained in:
parent
f3af362c0b
commit
20536aa521
26
README.md
26
README.md
@ -52,6 +52,30 @@ Individual packages may have other build dependencies. If some packages are miss
|
|||||||
Using Dockerfile you can create your own docker container that can be used to build a VyOS ISO image.
|
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.
|
The Dockerfile contains some of the most used packages needed for a VyOs build ISO process.
|
||||||
|
|
||||||
|
```
|
||||||
|
squashfs-tools # Required for squashfs file system
|
||||||
|
git # Required, for cloning the source
|
||||||
|
autoconf # Required, for generating build scripts
|
||||||
|
dpkg-dev # Required, used in build scripts
|
||||||
|
live-helper # Required, for ISO build
|
||||||
|
syslinux # Required, for ISO build
|
||||||
|
genisoimage # Required, for ISO build
|
||||||
|
make # Required, for ISO build
|
||||||
|
lsb-release # Required, used by configure script
|
||||||
|
fakechroot # Required, for ISO build
|
||||||
|
devscripts # Optional, for building submodules (kernel etc)
|
||||||
|
kernel-package # Optional, for building the kernel
|
||||||
|
libtool # Optional, for building certain packages (eg vyatta-op-vpn)
|
||||||
|
libglib2.0-dev # Optional, for building vyatta-cfg
|
||||||
|
libboost-filesystem-dev # Optional, for building vyatta-cfg
|
||||||
|
libapt-pkg-dev # Optional, for building vyatta-cfg
|
||||||
|
flex # Optional, for building vyatta-cfg
|
||||||
|
bison # Optional, for building vyatta-cfg
|
||||||
|
libperl-dev # Optional, for building vyatta-cfg
|
||||||
|
libnfnetlink-dev # Optional, for building vyatta-cfg-vpn
|
||||||
|
vim # Optional, vim, vi, nano or other text editor
|
||||||
|
```
|
||||||
|
|
||||||
To build the docker image
|
To build the docker image
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -64,7 +88,7 @@ To run the docker image:
|
|||||||
docker run --privileged -v /HOST_PATH/images:/vyos --name=vyos_node_builder -d vyos-builder bash
|
docker run --privileged -v /HOST_PATH/images:/vyos --name=vyos_node_builder -d vyos-builder bash
|
||||||
```
|
```
|
||||||
* docker container must be run with --privileged flag
|
* docker container must be run with --privileged flag
|
||||||
* is recommended to run the container with a volume mapped in order to easy exprort images built
|
* is recommended to run the container with a volume mapped in order to easy export built VyOs ISO images
|
||||||
to the "external" world
|
to the "external" world
|
||||||
|
|
||||||
To connect to the docker image once is running:
|
To connect to the docker image once is running:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user