diff --git a/10/Dockerfile b/10/Dockerfile new file mode 100644 index 0000000..f911800 --- /dev/null +++ b/10/Dockerfile @@ -0,0 +1,12 @@ +# Drush Docker Container +FROM drush/drush:base +MAINTAINER Rob Loach + +# Set the Drush version. +ENV DRUSH_VERSION 10.0.0-alpha1 + +# Install Drush using Composer. +RUN composer global require drush/drush:"$DRUSH_VERSION" --prefer-dist + +# Display which version of Drush was installed. +RUN drush --version diff --git a/10/alpine/Dockerfile b/10/alpine/Dockerfile new file mode 100644 index 0000000..e3a6b12 --- /dev/null +++ b/10/alpine/Dockerfile @@ -0,0 +1,12 @@ +# Drush Docker Container +FROM drush/drush:base-alpine +MAINTAINER Rob Loach + +# Set the Drush version. +ENV DRUSH_VERSION 10.0.0-alpha1 + +# Install Drush using Composer. +RUN composer global require drush/drush:"$DRUSH_VERSION" --prefer-dist + +# Display which version of Drush was installed. +RUN drush --version diff --git a/7/Dockerfile b/7/Dockerfile index 3528853..5095e00 100644 --- a/7/Dockerfile +++ b/7/Dockerfile @@ -3,7 +3,7 @@ FROM drush/drush:base MAINTAINER Rob Loach # Set the Drush version. -ENV DRUSH_VERSION 7.3.0 +ENV DRUSH_VERSION 7.4.0 # Install Drush using Composer. RUN composer global require drush/drush:"$DRUSH_VERSION" --prefer-dist diff --git a/7/alpine/Dockerfile b/7/alpine/Dockerfile index dbe1545..d6c0efe 100644 --- a/7/alpine/Dockerfile +++ b/7/alpine/Dockerfile @@ -3,7 +3,7 @@ FROM drush/drush:base-alpine MAINTAINER Rob Loach # Set the Drush version. -ENV DRUSH_VERSION 7.3.0 +ENV DRUSH_VERSION 7.4.0 # Install Drush using Composer. RUN composer global require drush/drush:"$DRUSH_VERSION" --prefer-dist diff --git a/8/Dockerfile b/8/Dockerfile index 71cdedf..3016b1e 100644 --- a/8/Dockerfile +++ b/8/Dockerfile @@ -3,7 +3,7 @@ FROM drush/drush:base MAINTAINER Rob Loach # Set the Drush version. -ENV DRUSH_VERSION 8.1.16 +ENV DRUSH_VERSION 8.3.0 # Install Drush 8 with the phar file. RUN curl -fsSL -o /usr/local/bin/drush "https://github.com/drush-ops/drush/releases/download/$DRUSH_VERSION/drush.phar" && \ diff --git a/8/alpine/Dockerfile b/8/alpine/Dockerfile index 29bf377..bdc1e9c 100644 --- a/8/alpine/Dockerfile +++ b/8/alpine/Dockerfile @@ -3,7 +3,7 @@ FROM drush/drush:base-alpine MAINTAINER Rob Loach # Set the Drush version. -ENV DRUSH_VERSION 8.1.16 +ENV DRUSH_VERSION 8.3.0 # Install Drush 8 with the phar file. RUN curl -fsSL -o /usr/local/bin/drush "https://github.com/drush-ops/drush/releases/download/$DRUSH_VERSION/drush.phar" && \ diff --git a/9/Dockerfile b/9/Dockerfile index 868dd9b..637df6d 100644 --- a/9/Dockerfile +++ b/9/Dockerfile @@ -3,7 +3,7 @@ FROM drush/drush:base MAINTAINER Rob Loach # Set the Drush version. -ENV DRUSH_VERSION 9.2.1 +ENV DRUSH_VERSION 9.7.1 # Install Drush using Composer. RUN composer global require drush/drush:"$DRUSH_VERSION" --prefer-dist diff --git a/9/alpine/Dockerfile b/9/alpine/Dockerfile index b97e5fc..58ae972 100644 --- a/9/alpine/Dockerfile +++ b/9/alpine/Dockerfile @@ -3,7 +3,7 @@ FROM drush/drush:base-alpine MAINTAINER Rob Loach # Set the Drush version. -ENV DRUSH_VERSION 9.2.1 +ENV DRUSH_VERSION 9.7.1 # Install Drush using Composer. RUN composer global require drush/drush:"$DRUSH_VERSION" --prefer-dist diff --git a/Makefile b/Makefile index f388eb7..5f17919 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,13 @@ build: docker build -t drush/drush:base base + docker build -t drush/drush:10 10 docker build -t drush/drush:9 9 docker build -t drush/drush:8 8 docker build -t drush/drush 8 docker build -t drush/drush:7 7 docker build -t drush/drush:backdrop backdrop docker build -t drush/drush:base-alpine base/alpine + docker build -t drush/drush:10-alpine 10/alpine docker build -t drush/drush:9-alpine 9/alpine docker build -t drush/drush:8-alpine 8/alpine docker build -t drush/drush:7-alpine 7/alpine @@ -13,11 +15,13 @@ build: version: docker run drush/drush --version + docker run drush/drush:10 --version docker run drush/drush:9 --version docker run drush/drush:8 --version docker run drush/drush:7 --version docker run drush/drush:backdrop --version docker run drush/drush:alpine --version + docker run drush/drush:10-alpine --version docker run drush/drush:9-alpine --version docker run drush/drush:8-alpine --version docker run drush/drush:7-alpine --version