Skip to content

Instantly share code, notes, and snippets.

@diegomengarda
Last active October 25, 2017 13:47
Show Gist options
  • Save diegomengarda/ec22f431cc338f4c5230e43c4b20e788 to your computer and use it in GitHub Desktop.
Save diegomengarda/ec22f431cc338f4c5230e43c4b20e788 to your computer and use it in GitHub Desktop.
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
#!/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