Created
April 12, 2018 14:54
-
-
Save mtigdemir/aa9e8e4e636126a4229c8797fb2a4412 to your computer and use it in GitHub Desktop.
Deployer Docker Image
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
FROM php:7.1-cli-alpine | |
## Install SSH and Rsync | |
RUN apk add --no-cache openssh rsync | |
## Install Composer | |
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer | |
## Install Deployer with recipes | |
RUN composer global require deployer/deployer | |
RUN composer global require deployer/recipes --dev | |
## Add Composer vendor into PATH | |
ENV PATH /root/.composer/vendor/bin:$PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment