summaryrefslogtreecommitdiffstats
path: root/ci/maipo
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2015-06-14 13:32:35 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2015-06-14 13:32:35 +0200
commit7187d8b9c1f358deaba451eae7988f28d8b16749 (patch)
treeee19ec8a03ca4b4e7d5c72dd436f245e29b082d8 /ci/maipo
parenta10d074c43145350c13f58165c4fc10a19ec4eba (diff)
downloaddocker-7187d8b9c1f358deaba451eae7988f28d8b16749.tar.gz
Minimize the footprint of the Docker image
Diffstat (limited to 'ci/maipo')
-rw-r--r--ci/maipo84
1 files changed, 51 insertions, 33 deletions
diff --git a/ci/maipo b/ci/maipo
index ad0078c..a48c254 100644
--- a/ci/maipo
+++ b/ci/maipo
@@ -12,7 +12,7 @@ RUN rpm --import http://download.opensuse.org/repositories/openSUSE:/Tools/CentO
RUN sed -i -e '/tsflags=nodocs/d' /etc/yum.conf && \
sed -r -i -e 's/enabled\s*=\s*1/enabled=0/g' /etc/yum/pluginconf.d/fastestmirror.conf
-RUN yum -y reinstall \*
+#RUN yum -y reinstall \*
ENV IMAGE maipo
@@ -30,51 +30,69 @@ RUN chmod -v a+rx \
ADD https://cgit.cyrus.foundation/docker/plain/.vimrc /root/.vimrc
+#RUN yum clean all && \
+# yum -y install epel-release && \
+# yum -y install --skip-broken \
+# ant \
+# atk-devel.i686 \
+# build \
+# cairo-devel.i686 \
+# fontconfig-devel.i686 \
+# freetype-devel \
+# freetype-devel.i686 \
+# gcc.i686 \
+# gcc-c++.i686 \
+# gdk-pixbuf-devel.i686 \
+# git \
+# glibc-devel \
+# glibc-devel.i686 \
+# glib2-devel.i686 \
+# gperf \
+# gtk2-devel \
+# gtk2-devel.i686 \
+# ibus-devel \
+# java-devel \
+# osc \
+# pango-devel.i686 \
+# passwd \
+# perl-Data-Dumper \
+# perl-Digest-MD5 \
+# perl-TimeDate \
+# php-phpunit-PHPUnit-Selenium \
+# python-selenium \
+# rpmdevtools \
+# ruby \
+# screen \
+# sudo \
+# vim-enhanced \
+# yum-utils \
+# @development \
+# @fedora-packager && \
+# yum-builddep -y --skip-broken \
+# $(yum -d 0 -e 0 \
+# --disablerepo=\* \
+# --enablerepo=Kolab_Development \
+# list available 2>&1 | \
+# grep -vE "^(Available Packages|\s+)" | \
+# awk '{print $1}' \
+# )
+
RUN yum clean all && \
yum -y install epel-release && \
- yum -y install --skip-broken \
+ yum -y install \
ant \
- atk-devel.i686 \
build \
- cairo-devel.i686 \
- fontconfig-devel.i686 \
- freetype-devel \
- freetype-devel.i686 \
- gcc.i686 \
- gcc-c++.i686 \
- gdk-pixbuf-devel.i686 \
git \
- glibc-devel \
- glibc-devel.i686 \
- glib2-devel.i686 \
- gperf \
- gtk2-devel \
- gtk2-devel.i686 \
- ibus-devel \
- java-devel \
osc \
- pango-devel.i686 \
- passwd \
+ perl-Data-Dumper \
perl-Digest-MD5 \
perl-TimeDate \
php-phpunit-PHPUnit-Selenium \
- python-selenium \
rpmdevtools \
- ruby \
screen \
sudo \
vim-enhanced \
- yum-utils \
- @development \
- @fedora-packager && \
- yum-builddep -y --skip-broken \
- $(yum -d 0 -e 0 \
- --disablerepo=\* \
- --enablerepo=Kolab_Development \
- list available 2>&1 | \
- grep -vE "^(Available Packages|\s+)" | \
- awk '{print $1}' \
- )
+ yum-utils
WORKDIR /srv
RUN git clone https://github.com/google/closure-compiler.git closure-compiler.git