From df072c1a6f7dd0686d261f7f6d1659d270db8d52 Mon Sep 17 00:00:00 2001 From: "Joshua \"jag\" Ginsberg" Date: Mon, 25 Jan 2016 16:01:53 -0500 Subject: Initial attempt at dumb-init --- tools/docker/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools') diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index f90618f97d..4f8cc1e109 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -26,8 +26,11 @@ ADD license /etc/awx/license ADD license /etc/tower/license RUN pip2 install honcho RUN /etc/init.d/postgresql start; cd /tower ; make migrate ; make init ; /etc/init.d/postgresql stop +RUN wget https://github.com/Yelp/dumb-init/releases/download/v1.0.0/dumb-init_1.0.0_amd64.deb +RUN dpkg -i dumb-init_*.deb ADD start_everything.sh /start_everything.sh ADD start_development.sh /start_development.sh EXPOSE 8013 8080 27017 22 +ENTRYPOINT /usr/bin/dumb-init CMD /start_development.sh -- cgit v1.2.3