Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions 10/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Drush Docker Container
FROM drush/drush:base
MAINTAINER Rob Loach <robloach@gmail.com>

# 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
12 changes: 12 additions & 0 deletions 10/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Drush Docker Container
FROM drush/drush:base-alpine
MAINTAINER Rob Loach <robloach@gmail.com>

# 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
2 changes: 1 addition & 1 deletion 7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM drush/drush:base
MAINTAINER Rob Loach <robloach@gmail.com>

# 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
Expand Down
2 changes: 1 addition & 1 deletion 7/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM drush/drush:base-alpine
MAINTAINER Rob Loach <robloach@gmail.com>

# 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
Expand Down
2 changes: 1 addition & 1 deletion 8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM drush/drush:base
MAINTAINER Rob Loach <robloach@gmail.com>

# 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" && \
Expand Down
2 changes: 1 addition & 1 deletion 8/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM drush/drush:base-alpine
MAINTAINER Rob Loach <robloach@gmail.com>

# 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" && \
Expand Down
2 changes: 1 addition & 1 deletion 9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM drush/drush:base
MAINTAINER Rob Loach <robloach@gmail.com>

# 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
Expand Down
2 changes: 1 addition & 1 deletion 9/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM drush/drush:base-alpine
MAINTAINER Rob Loach <robloach@gmail.com>

# 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
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
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
docker build -t drush/drush:backdrop-alpine backdrop/alpine

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
Expand Down