Skip to content

Commit

Permalink
remove Composer from PHP Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptPilot committed Feb 14, 2024
1 parent a280117 commit 7e48cac
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/templates/docker/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
# Use Apache PHP as base image
FROM php:8.2-apache

# Install Zip, Unzip and Git (required by Composer)
Run apt-get update && apt-get install -y zip
Run apt-get update && apt-get install -y unzip
Run apt-get update && apt-get install -y git

# Install Composer (as a package manager)
RUN curl -sS https://getcomposer.org/installer \
| php -- --install-dir=/usr/local/bin --filename=composer

# Install MySQLi (for MySQL support)
RUN docker-php-ext-install mysqli

Expand Down

0 comments on commit 7e48cac

Please sign in to comment.