Kenji Okimoto
null+****@clear*****
Wed Jun 21 16:49:45 JST 2017
Kenji Okimoto 2017-04-07 02:02:43 +0900 (Fri, 07 Apr 2017) New Revision: ef3991471fd01cec79ea2c7f92e43d9d714bb6da https://github.com/milter-manager/milter-manager/commit/ef3991471fd01cec79ea2c7f92e43d9d714bb6da Merged 163db21: Merge pull request #121 from milter-manager/docker-for-ci Message: travis: Add CentOS7 related code Added files: dockerfiles/Dockerfile-centos7 Modified files: .travis.yml docker-compose.yml Modified: .travis.yml (+1 -0) =================================================================== --- .travis.yml 2017-04-06 16:56:40 +0900 (da000fc) +++ .travis.yml 2017-04-07 02:02:43 +0900 (798ce7c) @@ -18,6 +18,7 @@ env: - TARGET_DISTRIBUTION=debian-jessie # - TARGET_DISTRIBUTION=debian-stretch # - TARGET_DISTRIBUTION=debian-sid + - TARGET_DISTRIBUTION=centos7 before_install: - sudo rm /usr/local/bin/docker-compose Modified: docker-compose.yml (+5 -0) =================================================================== --- docker-compose.yml 2017-04-06 16:56:40 +0900 (1f3424f) +++ docker-compose.yml 2017-04-07 02:02:43 +0900 (5d614df) @@ -36,3 +36,8 @@ services: dockerfile: dockerfiles/Dockerfile-debian-sid command: tail -f /dev/null + centos7: + build: + context: . + dockerfile: dockerfiles/Dockerfile-centos7 + command: tail -f /dev/null Added: dockerfiles/Dockerfile-centos7 (+18 -0) 100644 =================================================================== --- /dev/null +++ dockerfiles/Dockerfile-centos7 2017-04-07 02:02:43 +0900 (47fe7ef) @@ -0,0 +1,18 @@ +FROM centos:7 + +RUN yum update -y && \ + yum install -y \ + libtool intltool gettext gcc make glib2-devel git tar rpm-build \ + ruby ruby-devel rubygems lcov rsyslog sudo git epel-release && \ + 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 && \ + gem install --no-rdoc --no-ri coveralls-lcov && \ + gem install --no-rdoc --no-ri pkg-config && \ + useradd -m --user-group --shell /bin/bash milter-manager + +WORKDIR /home/milter-manager/milter-manager +COPY . . +RUN chown -R milter-manager:milter-manager . +USER milter-manager -------------- next part -------------- An HTML attachment was scrubbed... Download