Skip to content

Commit

Permalink
Reduced layers for builder images
Browse files Browse the repository at this point in the history
  • Loading branch information
bamachrn committed Dec 21, 2016
1 parent b9b9412 commit d1c9aee
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 16 deletions.
8 changes: 2 additions & 6 deletions server/Dockerfile.build
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
FROM centos

RUN yum -y install docker
RUN yum -y install git
RUN yum install -y PyYAML libyaml
RUN yum -y install docker git PyYAML libyaml

ADD run.sh /usr/bin/
ADD cccp_reader.py /

RUN mkdir -p /tube_request/

ADD beanstalkc.py /tube_request/

ADD send_failed_notify_request.py /tube_request/
ADD beanstalkc.py send_failed_notify_request.py /tube_request/

CMD run.sh
6 changes: 1 addition & 5 deletions server/Dockerfile.delivery
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,10 @@ FROM centos

RUN yum -y install docker

RUN yum -y install wget mailx postfix

ADD run-delivery.sh /usr/bin/

RUN mkdir -p /tube_request/

ADD beanstalkc.py /tube_request/

ADD send_notify_request.py /tube_request/
ADD beanstalkc.py send_notify_request.py /tube_request/

CMD run-delivery.sh
6 changes: 1 addition & 5 deletions server/Dockerfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ ADD run-test.sh /usr/bin/

RUN mkdir -p /tube_request/

ADD beanstalkc.py /tube_request/

ADD send_scan_request.py /tube_request/

ADD send_failed_notify_request.py /tube_request/
ADD beanstalkc.py send_scan_request.py send_failed_notify_request.py /tube_request/

CMD run-test.sh

0 comments on commit d1c9aee

Please sign in to comment.