Add Dockerfile and .dockerignore.

master
Icedream 2017-04-08 17:44:47 +02:00
parent 2e48e85ae2
commit 5d9651da8d
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
2 changed files with 63 additions and 0 deletions

8
.dockerignore Normal file
View File

@ -0,0 +1,8 @@
.dockerignore
Dockerfile
*.md
.git*
.cvs*
.hg*

55
Dockerfile Normal file
View File

@ -0,0 +1,55 @@
FROM ubuntu:16.04
ARG FREETZ_SVN_URL=http://svn.freetz.org/trunk/
ARG FREETZ_REVISION=14233
RUN apt-get update \
&& apt-get install -y \
autoconf \
automake \
binutils \
bison \
bzip2 \
ecj \
fastjar \
flex \
g++ \
gawk \
gcc-multilib \
gettext \
git \
graphicsmagick \
intltool \
lib32ncurses5-dev \
lib32stdc++6 \
libacl1-dev \
libc6-dev-i386 \
libcap-dev \
libncurses5-dev \
libreadline-dev \
libstring-crc32-perl \
libtool-bin \
libtool \
libusb-dev \
make \
patch \
perl \
pkg-config \
python \
realpath \
ruby \
ruby1.8 \
subversion \
texinfo \
tofrodos \
unzip \
zlib1g-dev \
&& apt-get clean \
&& rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/*
# Install freetz source tree
WORKDIR /freetz
RUN svn checkout -r "${FREETZ_REVISION}" "${FREETZ_SVN_URL}" .