diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f08cc81 --- /dev/null +++ b/Dockerfile @@ -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 diff --git a/etc/apt/sources.list b/etc/apt/sources.list new file mode 100644 index 0000000..9b7d8dc --- /dev/null +++ b/etc/apt/sources.list @@ -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 diff --git a/etc/apt/trusted.gpg b/etc/apt/trusted.gpg new file mode 100644 index 0000000..b18548d Binary files /dev/null and b/etc/apt/trusted.gpg differ