Created
June 28, 2016 13:44
-
-
Save keshavab/30f347a024ef5952c61e75d894fc2dd4 to your computer and use it in GitHub Desktop.
systemd dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM keshavab/systemd | |
RUN yum -y install httpd; yum clean all | |
RUN systemctl enable httpd.service | |
# RUN systemctl restart httpd.service | |
EXPOSE 80 | |
ENTRYPOINT ["/usr/sbin/init"] | |
CMD systemctl restart httpd.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment