summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormtudosoiu <marian.tudosoiu@1and1.ro>2018-02-21 12:53:31 +0200
committerGitHub <noreply@github.com>2018-02-21 12:53:31 +0200
commit428c73d96ff745ba61ba834d9d2a42d5dc8ed5cd (patch)
treed5561278955b7a06f483e27e44122d4fd7f960af
parent9d5ab697ada2d156631be4c802ebe8a640f4a723 (diff)
downloadvyos-build-428c73d96ff745ba61ba834d9d2a42d5dc8ed5cd.tar.gz
vyos-build-428c73d96ff745ba61ba834d9d2a42d5dc8ed5cd.zip
Task #T556 add dockerfile for vyos-build-node
use debian:jessie docker container as build node for vyos1.2.x
-rw-r--r--Dockerfile33
1 files changed, 33 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 00000000..924ddb12
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,33 @@
+# 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 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 \
+ && rm -rf /var/lib/apt/lists/*
+
+WORKDIR ~