Enabled multi-use container invocation with roles

This commit is contained in:
Deon George
2018-05-07 13:34:45 +10:00
parent 3df8ec4de2
commit b48c38cee1
2 changed files with 33 additions and 4 deletions

View File

@@ -12,9 +12,9 @@ RUN (cd / && patch -p0 ) < /tmp/sshd_config.patch && rm /tmp/sshd_config.patch
EXPOSE 9000/tcp 22/tcp
RUN docker-php-ext-install -j$(nproc) pdo_mysql pdo_pgsql
RUN curl https://getcomposer.org/installer|php -- --install-dir=/usr/local/bin --filename=composer
COPY start /usr/local/sbin
ENTRYPOINT [ "/usr/local/sbin/start" ]
CMD [ "php-fpm" ]
RUN docker-php-ext-install -j$(nproc) pdo_mysql pdo_pgsql
RUN curl https://getcomposer.org/installer|php -- --install-dir=/usr/local/bin --filename=composer