forked from laradock/laradock
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request laradock#7 from LaraDock/master
Just update the fork
- Loading branch information
Showing
16 changed files
with
1,139 additions
and
55 deletions.
There are no files selected for viewing
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,24 +2,23 @@ FROM alpine:3.4 | |
|
||
MAINTAINER Eric Pfeiffer <[email protected]> | ||
|
||
LABEL caddy_version="0.9.0" architecture="amd64" | ||
ENV caddy_version=0.9.1 | ||
|
||
LABEL caddy_version="$caddy_version" architecture="amd64" | ||
|
||
RUN apk update \ | ||
&& apk upgrade \ | ||
&& apk add tar curl | ||
|
||
RUN curl --silent --show-error --fail --location \ | ||
--header "Accept: application/tar+gzip, application/x-gzip, application/octet-stream" -o - \ | ||
"https://github.com/mholt/caddy/releases/download/v0.9.0/caddy_linux_amd64.tar.gz" \ | ||
"https://github.com/mholt/caddy/releases/download/v$caddy_version/caddy_linux_amd64.tar.gz" \ | ||
| tar --no-same-owner -C /usr/bin/ -xz caddy_linux_amd64 \ | ||
&& mv /usr/bin/caddy_linux_amd64 /usr/bin/caddy \ | ||
&& chmod 0755 /usr/bin/caddy \ | ||
&& /usr/bin/caddy -version | ||
&& chmod 0755 /usr/bin/caddy | ||
|
||
EXPOSE 80 443 2015 | ||
|
||
WORKDIR /var/www/laravel/public | ||
|
||
ENTRYPOINT ["caddy"] | ||
|
||
CMD ["-conf", "/etc/Caddyfile"] | ||
CMD ["/usr/bin/caddy", "-conf", "/etc/Caddyfile"] |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,6 @@ MAINTAINER Mahmoud Zalt <[email protected]> | |
##################################### | ||
|
||
ARG INSTALL_XDEBUG=true | ||
ENV INSTALL_XDEBUG ${INSTALL_XDEBUG} | ||
RUN if [ ${INSTALL_XDEBUG} = true ]; then \ | ||
# Install the xdebug extension | ||
pecl install xdebug && \ | ||
|
@@ -56,7 +55,6 @@ COPY ./xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini | |
##################################### | ||
|
||
ARG INSTALL_MONGO=true | ||
ENV INSTALL_MONGO ${INSTALL_MONGO} | ||
RUN if [ ${INSTALL_MONGO} = true ]; then \ | ||
# Install the mongodb extension | ||
pecl install mongodb && \ | ||
|
@@ -68,7 +66,6 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \ | |
##################################### | ||
|
||
ARG INSTALL_ZIP_ARCHIVE=true | ||
ENV INSTALL_ZIP_ARCHIVE ${INSTALL_ZIP_ARCHIVE} | ||
RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \ | ||
# Install the zip extension | ||
pecl install zip && \ | ||
|
@@ -80,7 +77,6 @@ RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \ | |
##################################### | ||
|
||
ARG INSTALL_MEMCACHED=true | ||
ENV INSTALL_MEMCACHED ${INSTALL_MEMCACHED} | ||
RUN if [ ${INSTALL_MEMCACHED} = true ]; then \ | ||
# Install the php memcached extension | ||
pecl install memcached && \ | ||
|
@@ -91,7 +87,6 @@ RUN if [ ${INSTALL_MEMCACHED} = true ]; then \ | |
# Opcache: | ||
##################################### | ||
ARG INSTALL_OPCACHE=true | ||
ENV INSTALL_OPCACHE ${INSTALL_OPCACHE} | ||
RUN if [ ${INSTALL_OPCACHE} = true ]; then \ | ||
docker-php-ext-install opcache && \ | ||
docker-php-ext-enable opcache \ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,6 @@ MAINTAINER Mahmoud Zalt <[email protected]> | |
##################################### | ||
|
||
ARG INSTALL_XDEBUG=true | ||
ENV INSTALL_XDEBUG ${INSTALL_XDEBUG} | ||
RUN if [ ${INSTALL_XDEBUG} = true ]; then \ | ||
# Install the xdebug extension | ||
pecl install xdebug && \ | ||
|
@@ -56,7 +55,6 @@ COPY ./xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini | |
##################################### | ||
|
||
ARG INSTALL_MONGO=true | ||
ENV INSTALL_MONGO ${INSTALL_MONGO} | ||
RUN if [ ${INSTALL_MONGO} = true ]; then \ | ||
# Install the mongodb extension | ||
pecl install mongodb && \ | ||
|
@@ -68,7 +66,6 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \ | |
##################################### | ||
|
||
ARG INSTALL_ZIP_ARCHIVE=true | ||
ENV INSTALL_ZIP_ARCHIVE ${INSTALL_ZIP_ARCHIVE} | ||
RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \ | ||
# Install the zip extension | ||
pecl install zip && \ | ||
|
@@ -80,7 +77,6 @@ RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \ | |
##################################### | ||
|
||
ARG INSTALL_MEMCACHED=true | ||
ENV INSTALL_MEMCACHED ${INSTALL_MEMCACHED} | ||
RUN if [ ${INSTALL_MEMCACHED} = true ]; then \ | ||
# Install the php memcached extension | ||
curl -L -o /tmp/memcached.tar.gz "https://github.com/php-memcached-dev/php-memcached/archive/php7.tar.gz" \ | ||
|
@@ -102,7 +98,6 @@ RUN if [ ${INSTALL_MEMCACHED} = true ]; then \ | |
# Opcache: | ||
##################################### | ||
ARG INSTALL_OPCACHE=true | ||
ENV INSTALL_OPCACHE ${INSTALL_OPCACHE} | ||
RUN if [ ${INSTALL_OPCACHE} = true ]; then \ | ||
docker-php-ext-install opcache && \ | ||
docker-php-ext-enable opcache \ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,3 @@ VOLUME /sessions | |
|
||
# We expose phpMyAdmin on port 80 | ||
EXPOSE 80 | ||
|
||
ENTRYPOINT [ "/run.sh" ] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# | ||
# RabbitMQ Dockerfile | ||
# | ||
# https://github.com/dockerfile/rabbitmq | ||
# | ||
|
||
# Pull base image. | ||
FROM rabbitmq | ||
|
||
RUN rabbitmq-plugins enable --offline rabbitmq_management | ||
|
||
EXPOSE 15671 15672 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.