Skip to content

Commit

Permalink
Add Dockerfile-80
Browse files Browse the repository at this point in the history
  • Loading branch information
miguilimzero authored Feb 26, 2022
1 parent 1d47285 commit cc7d01e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docker/php/Dockerfile-80
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM php:8.0-alpine

MAINTAINER Peter Lai <[email protected]>

COPY composer-setup.php composer-setup.php
# COPY php.ini-production $PHP_INI_DIR/php.ini

RUN apk update && \
apk add git

# Install gmp
Run apk add gmp-dev && \
docker-php-ext-install gmp

# Install nodejs
# Run apk add --update nodejs nodejs-npm

# Install composer
RUN php composer-setup.php && \
php composer-setup.php --install-dir=/usr/bin --filename=composer && \
php -r "unlink('composer-setup.php');"

WORKDIR /app

0 comments on commit cc7d01e

Please sign in to comment.