1
0

Init: add code scaffolding

This commit is contained in:
2023-10-17 16:12:04 +03:00
commit 1ef176f3f7
8 changed files with 2090 additions and 0 deletions

31
Dockerfile Normal file
View 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