Last active
October 25, 2017 13:47
-
-
Save diegomengarda/ec22f431cc338f4c5230e43c4b20e788 to your computer and use it in GitHub Desktop.
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 debian:jessie | |
RUN apt-get update | |
RUN echo 'deb http://packages.dotdeb.org jessie all' >> /etc/apt/sources.list | |
RUN echo 'deb-src http://packages.dotdeb.org jessie all' >> /etc/apt/sources.list | |
RUN apt-get install -y wget | |
RUN wget https://www.dotdeb.org/dotdeb.gpg | |
RUN apt-key add dotdeb.gpg | |
RUN apt-get update | |
RUN apt-get install -y php7.0-fpm \ | |
&& apt-get install -y php7.0-ldap \ | |
&& apt-get install -y php7.0-interbase \ | |
&& apt-get install -y php7.0-pgsql | |
COPY start.sh / | |
RUN chmod +x start.sh | |
ENTRYPOINT ["/start.sh"] | |
EXPOSE 9000 |
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
#!/usr/bin/env bash | |
set -e | |
service php7.0-fpm start | |
exec "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment