-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
23 lines (17 loc) · 817 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM php:8.2-fpm
ENV DEBIAN_FRONTEND=noninteractive
LABEL maintainer="Filippo 'joeyrs' Civiletti <[email protected]>" architecture="AMD64/x86_64" version="0.5" date="2018.04.28"
LABEL maintainer="GB 'gionniboy' Pullarà <[email protected]>" architecture="AMD64/x86_64" version="0.5" date="2021.04.17"
RUN apt-get -qq update \
&& apt-get -qq upgrade -y \
&& apt-get -y install locales \
&& apt-get -y install git \
&& rm -rf /var/lib/apt/lists/* \
# Set timezone to UTC by default
&& ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime \
# Use unicode
&& locale-gen C.UTF-8 || true
ENV LANG=C.UTF-8
RUN curl --silent --show-error https://getcomposer.org/installer | php && \
mv composer.phar /usr/local/bin/composer
# RUN docker-php-ext-install mysqli && docker-php-ext-enable mysqli