Created
February 25, 2018 22:19
-
-
Save sylarbg/59ba3b1197fdd93b818ae5431fdaee1d to your computer and use it in GitHub Desktop.
This file contains 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 php:7.2.2-apache | |
LABEL Denis Georgiev | |
RUN useradd -ms /bin/bash -u 1337 sylar | |
RUN apt-get update \ | |
&& apt-get install -y git zip unzip \ | |
&& apt-get -y autoremove \ | |
&& apt-get clean \ | |
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | |
RUN php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/bin/ --filename=composer | |
RUN chmod +x /usr/bin/composer | |
COPY start /usr/local/bin/start | |
RUN chmod +x /usr/local/bin/start | |
EXPOSE 80 | |
ENTRYPOINT ["start"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment