mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 01:17:37 -02:30
Apply to all Dockerfiles and use the preferred ENTRYPOINT form.
This commit is contained in:
@@ -18,7 +18,10 @@ RUN mkdir -p /data/db
|
|||||||
ADD license /etc/awx/license
|
ADD license /etc/awx/license
|
||||||
ADD license /etc/tower/license
|
ADD license /etc/tower/license
|
||||||
RUN pip2 install honcho
|
RUN pip2 install honcho
|
||||||
|
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_development.sh /start_development.sh
|
ADD start_development.sh /start_development.sh
|
||||||
|
|
||||||
EXPOSE 8013 8080 22
|
EXPOSE 8013 8080 22
|
||||||
|
ENTRYPOINT ["/usr/bin/dumb-init"]
|
||||||
CMD /start_development.sh
|
CMD /start_development.sh
|
||||||
|
|||||||
@@ -32,5 +32,5 @@ ADD start_everything.sh /start_everything.sh
|
|||||||
ADD start_development.sh /start_development.sh
|
ADD start_development.sh /start_development.sh
|
||||||
|
|
||||||
EXPOSE 8013 8080 27017 22
|
EXPOSE 8013 8080 27017 22
|
||||||
ENTRYPOINT /usr/bin/dumb-init
|
ENTRYPOINT ["/usr/bin/dumb-init"]
|
||||||
CMD /start_development.sh
|
CMD /start_development.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user