Skip to content

Commit

Permalink
Merge pull request laradock#1434 from bestlong/sort-up
Browse files Browse the repository at this point in the history
Sort up
  • Loading branch information
bestlong authored Mar 16, 2018
2 parents 91784cb + b445479 commit 436e9e5
Show file tree
Hide file tree
Showing 23 changed files with 86 additions and 33 deletions.
62 changes: 62 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# image: docker:latest
# services:
# - docker:dind
image: jonaskello/docker-and-compose:1.12.1-1.8.0
services:
- docker:1.12.1-dind

before_script:
- docker info
- docker-compose version
- cp env-example .env
- sed -i -- "s/=false/=true/g" .env
- cat .env
- env | sort

build:56:php-fpm:
variables:
PHP_VERSION: "56"
script:
- docker-compose build php-fpm

build:70:php-fpm:
variables:
PHP_VERSION: "70"
script:
- docker-compose build php-fpm

build:71:php-fpm:
variables:
PHP_VERSION: "71"
script:
- docker-compose build php-fpm

build:72:php-fpm:
variables:
PHP_VERSION: "72"
script:
- docker-compose build php-fpm

build:56:workspace:
variables:
PHP_VERSION: "56"
script:
- docker-compose build workspace

build:70:workspace:
variables:
PHP_VERSION: "70"
script:
- docker-compose build workspace

build:71:workspace:
variables:
PHP_VERSION: "71"
script:
- docker-compose build workspace

build:72:workspace:
variables:
PHP_VERSION: "72"
script:
- docker-compose build workspace
2 changes: 1 addition & 1 deletion adminer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM adminer:4.3.0
# Version 4.3.1 contains PostgreSQL login errors. See docs.
# See https://sourceforge.net/p/adminer/bugs-and-features/548/

MAINTAINER Patrick Artounian <[email protected]>
LABEL maintainer="Patrick Artounian <[email protected]>"

# Add volume for sessions to allow session persistence
VOLUME /sessions
Expand Down
4 changes: 2 additions & 2 deletions aerospike/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM aerospike:latest

MAINTAINER Luciano Jr <[email protected]>
LABEL maintainer="Luciano Jr <[email protected]>"

RUN rm /etc/aerospike/aerospike.conf

ADD aerospike.conf /etc/aerospike/aerospike.conf
ADD aerospike.conf /etc/aerospike/aerospike.conf
2 changes: 1 addition & 1 deletion apache2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM webdevops/apache:ubuntu-16.04

MAINTAINER Eric Pfeiffer <[email protected]>
LABEL maintainer="Eric Pfeiffer <[email protected]>"

ARG PHP_UPSTREAM_CONTAINER=php-fpm
ARG PHP_UPSTREAM_PORT=9000
Expand Down
2 changes: 1 addition & 1 deletion aws/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:slim

MAINTAINER [email protected]
LABEL maintainer="[email protected]"

RUN pip install --upgrade --no-cache-dir awsebcli
RUN apt-get -yqq update && apt-get -yqq install git-all
Expand Down
2 changes: 1 addition & 1 deletion beanstalkd-console/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM php:latest

MAINTAINER Mahmoud Zalt <[email protected]>
LABEL maintainer="Mahmoud Zalt <[email protected]>"

RUN apt-get update && apt-get install -y curl

Expand Down
4 changes: 2 additions & 2 deletions beanstalkd/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM phusion/baseimage:latest

MAINTAINER Mahmoud Zalt <[email protected]>
LABEL maintainer="Mahmoud Zalt <[email protected]>"

ENV DEBIAN_FRONTEND noninteractive
ENV PATH /usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Expand All @@ -13,4 +13,4 @@ VOLUME /var/lib/beanstalkd/data

EXPOSE 11300

CMD ["/usr/bin/beanstalkd"]
CMD ["/usr/bin/beanstalkd"]
3 changes: 1 addition & 2 deletions caddy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM zuohuadong/caddy:alpine


MAINTAINER Huadong Zuo <[email protected]>
LABEL maintainer="Huadong Zuo <[email protected]>"

ARG plugins="cors"

Expand Down
2 changes: 1 addition & 1 deletion certbot/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM phusion/baseimage:latest

MAINTAINER Mahmoud Zalt <[email protected]>
LABEL maintainer="Mahmoud Zalt <[email protected]>"

COPY run-certbot.sh /root/certbot/run-certbot.sh

Expand Down
2 changes: 1 addition & 1 deletion haproxy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM dockercloud/haproxy:latest

MAINTAINER ZeroC0D3 Team<[email protected]>
LABEL maintainer="ZeroC0D3 Team<[email protected]>"

EXPOSE 80
2 changes: 1 addition & 1 deletion hhvm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM ubuntu:14.04

MAINTAINER Mahmoud Zalt <[email protected]>
LABEL maintainer="Mahmoud Zalt <[email protected]>"

RUN apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0x5a16e7281be7a449

Expand Down
2 changes: 1 addition & 1 deletion maildev/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM djfarrelly/maildev

MAINTAINER Maxime Hélias <[email protected]>
LABEL maintainer="Maxime Hélias <[email protected]>"

EXPOSE 80 25
2 changes: 1 addition & 1 deletion mailhog/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM mailhog/mailhog

MAINTAINER Mahmoud Zalt <[email protected]>
LABEL maintainer="Mahmoud Zalt <[email protected]>"

CMD ["Mailhog"]

Expand Down
2 changes: 1 addition & 1 deletion mariadb/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM mariadb:latest

MAINTAINER Mahmoud Zalt <[email protected]>
LABEL maintainer="Mahmoud Zalt <[email protected]>"

ADD my.cnf /etc/mysql/conf.d/my.cnf

Expand Down
2 changes: 1 addition & 1 deletion mssql/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM microsoft/mssql-server-linux

MAINTAINER Mahmoud Zalt <[email protected]>
LABEL maintainer="Mahmoud Zalt <[email protected]>"

# Create config directory
# an set it as WORKDIR
Expand Down
2 changes: 1 addition & 1 deletion php-fpm/Dockerfile-56
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

FROM laradock/php-fpm:2.0-56

MAINTAINER Mahmoud Zalt <[email protected]>
LABEL maintainer="Mahmoud Zalt <[email protected]>"

#
#--------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion php-fpm/Dockerfile-70
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

FROM laradock/php-fpm:2.0-70

MAINTAINER Mahmoud Zalt <[email protected]>
LABEL maintainer="Mahmoud Zalt <[email protected]>"

#
#--------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion php-fpm/Dockerfile-71
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

FROM laradock/php-fpm:2.0-71

MAINTAINER Mahmoud Zalt <[email protected]>
LABEL maintainer="Mahmoud Zalt <[email protected]>"

#
#--------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion php-fpm/Dockerfile-72
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

FROM laradock/php-fpm:2.0-72

MAINTAINER Mahmoud Zalt <[email protected]>
LABEL maintainer="Mahmoud Zalt <[email protected]>"

#
#--------------------------------------------------------------------------
Expand Down
4 changes: 1 addition & 3 deletions workspace/Dockerfile-56
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

FROM laradock/workspace:2.0-56

MAINTAINER Mahmoud Zalt <[email protected]>
LABEL maintainer="Mahmoud Zalt <[email protected]>"

# Remove Faillog and Lastlog to reduce the size of the final image.
RUN rm /var/log/lastlog /var/log/faillog
Expand Down Expand Up @@ -233,12 +233,10 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
# AMQP:
#####################################

# Check if Mongo needs to be installed
ARG INSTALL_AMQP=false
ENV INSTALL_AMQP ${INSTALL_AMQP}
RUN if [ ${INSTALL_AMQP} = true ]; then \
apt-get install librabbitmq-dev -y && \
# Install the mongodb extension
pecl -q install amqp && \
echo "extension=amqp.so" >> /etc/php/5.6/mods-available/amqp.ini && \
ln -s /etc/php/5.6/mods-available/amqp.ini /etc/php/5.6/cli/conf.d/30-amqp.ini \
Expand Down
4 changes: 1 addition & 3 deletions workspace/Dockerfile-70
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

FROM laradock/workspace:2.0-70

MAINTAINER Mahmoud Zalt <[email protected]>
LABEL maintainer="Mahmoud Zalt <[email protected]>"

# Remove Faillog and Lastlog to reduce the size of the final image.
RUN rm /var/log/lastlog /var/log/faillog
Expand Down Expand Up @@ -229,12 +229,10 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
# AMQP:
#####################################

# Check if Mongo needs to be installed
ARG INSTALL_AMQP=false
ENV INSTALL_AMQP ${INSTALL_AMQP}
RUN if [ ${INSTALL_AMQP} = true ]; then \
apt-get install librabbitmq-dev -y && \
# Install the mongodb extension
pecl -q install amqp && \
echo "extension=amqp.so" >> /etc/php/7.0/mods-available/amqp.ini && \
ln -s /etc/php/7.0/mods-available/amqp.ini /etc/php/7.0/cli/conf.d/30-amqp.ini \
Expand Down
4 changes: 1 addition & 3 deletions workspace/Dockerfile-71
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

FROM laradock/workspace:2.0-71

MAINTAINER Mahmoud Zalt <[email protected]>
LABEL maintainer="Mahmoud Zalt <[email protected]>"

# Remove Faillog and Lastlog to reduce the size of the final image.
RUN rm /var/log/lastlog /var/log/faillog
Expand Down Expand Up @@ -225,12 +225,10 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
# AMQP:
#####################################

# Check if Mongo needs to be installed
ARG INSTALL_AMQP=false
ENV INSTALL_AMQP ${INSTALL_AMQP}
RUN if [ ${INSTALL_AMQP} = true ]; then \
apt-get install librabbitmq-dev -y && \
# Install the mongodb extension
pecl -q install amqp && \
echo "extension=amqp.so" >> /etc/php/7.1/mods-available/amqp.ini && \
ln -s /etc/php/7.1/mods-available/amqp.ini /etc/php/7.1/cli/conf.d/30-amqp.ini \
Expand Down
4 changes: 1 addition & 3 deletions workspace/Dockerfile-72
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

FROM laradock/workspace:2.0-72

MAINTAINER Mahmoud Zalt <[email protected]>
LABEL maintainer="Mahmoud Zalt <[email protected]>"

# Remove Faillog and Lastlog to reduce the size of the final image.
RUN rm /var/log/lastlog /var/log/faillog
Expand Down Expand Up @@ -225,12 +225,10 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
# AMQP:
#####################################

# Check if Mongo needs to be installed
ARG INSTALL_AMQP=false
ENV INSTALL_AMQP ${INSTALL_AMQP}
RUN if [ ${INSTALL_AMQP} = true ]; then \
apt-get install librabbitmq-dev -y && \
# Install the mongodb extension
pecl -q install amqp && \
echo "extension=amqp.so" >> /etc/php/7.2/mods-available/amqp.ini && \
ln -s /etc/php/7.2/mods-available/amqp.ini /etc/php/7.2/cli/conf.d/30-amqp.ini \
Expand Down

0 comments on commit 436e9e5

Please sign in to comment.