mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Fix missing dependencies and repositories, make the makefile exit with 1 if ISO file wasn't built.
36 lines
829 B
Docker
36 lines
829 B
Docker
# Must be run with --privileged flag
|
|
# Recommended to run the container with a volume mapped
|
|
# in order to easy exprort images built to "external" world
|
|
FROM debian:jessie
|
|
|
|
RUN echo 'deb http://ftp.debian.org/debian jessie-backports main' | tee -a /etc/apt/sources.list &&\
|
|
apt-get update &&\
|
|
apt-get install -y \
|
|
vim \
|
|
git \
|
|
make \
|
|
live-build \
|
|
pbuilder \
|
|
devscripts \
|
|
python3-pystache \
|
|
squashfs-tools \
|
|
autoconf \
|
|
dpkg-dev \
|
|
syslinux \
|
|
genisoimage \
|
|
lsb-release \
|
|
fakechroot \
|
|
kernel-package \
|
|
libtool \
|
|
libglib2.0-dev \
|
|
libboost-filesystem-dev \
|
|
libapt-pkg-dev \
|
|
flex \
|
|
bison \
|
|
libperl-dev \
|
|
libnfnetlink-dev \
|
|
python3-git \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR ~
|