-
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 #15 from nspalo/development
First release
- Loading branch information
Showing
3 changed files
with
12 additions
and
7 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,6 +1,10 @@ | ||
# Install Composer | ||
FROM composer:2.1.5 | ||
# Pull from PHP from previous Dockerfile - php/Dockerfile | ||
# - see docker/docker-compose.yml for more info | ||
# - use the image tag php:php-7.4-fpm-alpine | ||
FROM php:php-7.4-fpm-alpine | ||
|
||
# Copy PHP from previous Dockerfile with a tag of php:php-7.4-fpm-alpine | ||
# See docker/docker-compose.yml | ||
COPY --from=php:php-7.4-fpm-alpine /usr/local/bin/php /usr/local/bin/php | ||
# Install Composer 2.1.5 | ||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --version=2.1.5 | ||
|
||
# Add composer bin files path to environment variable | ||
RUN export PATH=$PATH":/usr/bin" |
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