Dockerfile and files for building docker image

This commit is contained in:
Brian McQueen
2014-11-08 18:29:49 -08:00
parent 4e5f82c3fb
commit f7b592d5d6
3 changed files with 67 additions and 0 deletions

32
Dockerfile Normal file
View File

@@ -0,0 +1,32 @@
FROM gnuhub/base-docker
MAINTAINER Stallman Wang "gnuhub@gmail.com"
ADD /etc/apt/sources.list /etc/apt/sources.list
ADD /etc/apt/trusted.gpg /etc/apt/trusted.gpg
RUN sudo apt-get update
RUN apt-get install -y --force-yes build-essential
RUN apt-get install -y m4
RUN apt-get install -y flex
RUN apt-get install -y bison
RUN apt-get install -y gawk
RUN apt-get install -y texinfo
RUN apt-get install -y autoconf
RUN apt-get install -y libtool
RUN apt-get install -y pkg-config
RUN apt-get install -y openssl
RUN apt-get install -y curl
RUN apt-get install -y libreadline6
RUN apt-get install -y git
RUN apt-get install -y zlib1g
RUN apt-get install -y autoconf
RUN apt-get install -y automake
RUN apt-get install -y libtool
RUN apt-get install -y imagemagick
RUN apt-get install -y make
RUN apt-get install -y tree
RUN apt-get install -y gdb
RUN apt-get install -y libopencv-dev libtesseract-dev git cmake build-essential libleptonica-dev
RUN apt-get install -y liblog4cplus-dev libcurl3-dev
RUN apt-get install -y beanstalkd
RUN apt-get install -y wget

35
etc/apt/sources.list Normal file
View File

@@ -0,0 +1,35 @@
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://archive.ubuntu.com/ubuntu/ trusty main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted
## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://archive.ubuntu.com/ubuntu/ trusty universe
deb http://archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://archive.ubuntu.com/ubuntu/ trusty-updates universe
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted
deb http://archive.ubuntu.com/ubuntu/ trusty-security main restricted
deb-src http://archive.ubuntu.com/ubuntu/ trusty-security main restricted
deb http://archive.ubuntu.com/ubuntu/ trusty-security universe
deb-src http://archive.ubuntu.com/ubuntu/ trusty-security universe
# deb http://archive.ubuntu.com/ubuntu/ trusty-security multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ trusty-security multiverse

BIN
etc/apt/trusted.gpg Normal file

Binary file not shown.