Kenji Okimoto
null+****@clear*****
Thu Jun 15 16:08:35 JST 2017
Kenji Okimoto 2017-06-15 16:08:35 +0900 (Thu, 15 Jun 2017) New Revision: 5142deaa2eacc96530e32856be1546518584d4a2 https://github.com/milter-manager/milter-manager/commit/5142deaa2eacc96530e32856be1546518584d4a2 Message: travis: Support CentOS6 Added files: dockerfiles/Dockerfile-centos6 Modified files: .travis.yml docker-compose.yml Modified: .travis.yml (+1 -0) =================================================================== --- .travis.yml 2017-06-15 16:07:28 +0900 (798ce7c) +++ .travis.yml 2017-06-15 16:08:35 +0900 (cd60bfd) @@ -18,6 +18,7 @@ env: - TARGET_DISTRIBUTION=debian-jessie # - TARGET_DISTRIBUTION=debian-stretch # - TARGET_DISTRIBUTION=debian-sid + - TARGET_DISTRIBUTION=centos6 - TARGET_DISTRIBUTION=centos7 before_install: Modified: docker-compose.yml (+6 -0) =================================================================== --- docker-compose.yml 2017-06-15 16:07:28 +0900 (5d614df) +++ docker-compose.yml 2017-06-15 16:08:35 +0900 (8f9d480) @@ -36,6 +36,12 @@ services: dockerfile: dockerfiles/Dockerfile-debian-sid command: tail -f /dev/null + centos6: + build: + context: . + dockerfile: dockerfiles/Dockerfile-centos6 + command: tail -f /dev/null + centos7: build: context: . Added: dockerfiles/Dockerfile-centos6 (+31 -0) 100644 =================================================================== --- /dev/null +++ dockerfiles/Dockerfile-centos6 2017-06-15 16:08:35 +0900 (236c69d) @@ -0,0 +1,31 @@ +FROM centos:6 + +RUN yum update -y && \ + yum install -y \ + libtool intltool gettext gcc make glib2-devel git tar rpm-build \ + lcov rsyslog sudo git epel-release \ + readline-devel ncurses-devel gdbm-devel tcl-devel openssl-devel db4-devel \ + libyaml libyaml-devel libffi-devel byacc \ + wget pyliblzma \ +RUN yum install -y http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/i386/epel-release-6-8.noarch.rpm && \ + yum install -y http://sourceforge.net/projects/cutter/files/centos/cutter-release-1.3.0-1.noarch.rpm && \ + yum makecache && \ + yum install -y lcov && \ + yum install -y cutter && \ + useradd -m --user-group --shell /bin/bash milter-manager + +COPY ./package/yum/vendor/ruby22.spec /tmp/ + +RUN mkdir -p ~/rpmbuild/SOURCES ~/rpmbuild/SPECS && \ + wget --quiet http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.5.tar.gz -P ~/rpmbuild/SOURCES && \ + rpmbuild -ba /tmp/ruby22.spec && \ + yum install -y ~/rpmbuild/RPMS/*/*.rpm + +RUN gem2.2 install --no-rdoc --no-ri coveralls-lcov && \ + gem2.2 install --no-rdoc --no-ri pkg-config + + +WORKDIR /home/milter-manager/milter-manager +COPY . . +RUN chown -R milter-manager:milter-manager . +USER milter-manager -------------- next part -------------- An HTML attachment was scrubbed... 다운로드