Init: add code scaffolding
This commit is contained in:
31
Dockerfile
Normal file
31
Dockerfile
Normal file
@ -0,0 +1,31 @@
|
||||
FROM php:8.2
|
||||
|
||||
# ------------------------------------------------------------------
|
||||
# PACKAGES AND DEPENDENCIES
|
||||
# ------------------------------------------------------------------
|
||||
|
||||
RUN apt-get update -y && apt-get install -y \
|
||||
ca-certificates \
|
||||
curl \
|
||||
git \
|
||||
gnupg \
|
||||
gzip \
|
||||
zip \
|
||||
$PHPIZE_DEPS \
|
||||
;
|
||||
|
||||
# ------------------------------------------------------------------
|
||||
# DEVELOPMENT TOOLS
|
||||
# ------------------------------------------------------------------
|
||||
|
||||
# Composer and required tools
|
||||
RUN curl -sLO https://getcomposer.org/download/2.6.5/composer.phar \
|
||||
&& mv composer.phar /usr/local/bin/composer \
|
||||
&& chmod +x /usr/local/bin/composer
|
||||
|
||||
# PHP-CS-Fixer
|
||||
RUN curl -sLO https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v3.35.1/php-cs-fixer.phar \
|
||||
&& mv php-cs-fixer.phar /usr/local/bin/php-cs-fixer \
|
||||
&& chmod +x /usr/local/bin/php-cs-fixer
|
||||
|
||||
WORKDIR /app
|
Reference in New Issue
Block a user