-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
36 lines (29 loc) · 828 Bytes
/
Dockerfile
File metadata and controls
36 lines (29 loc) · 828 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
FROM php:8.1.3-cli-alpine3.15
RUN apk add --no-cache \
curl \
libcurl \
wget \
libzip-dev \
libmcrypt-dev \
libxslt-dev \
libxml2-dev \
icu-dev \
zip
RUN docker-php-ext-install \
opcache \
zip \
xsl \
dom \
exif \
intl \
pcntl \
bcmath \
sockets
ENV COMPOSER_ALLOW_SUPERUSER=1
RUN curl -s https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer
RUN rm -rf /var/lib/apt/lists/*
RUN docker-php-source delete \
&& apk del ${BUILD_DEPENDS}
LABEL org.opencontainers.image.source=https://github.com/metrixio/dockerfile-php
LABEL org.opencontainers.image.description="Docker file for colelctors"
LABEL org.opencontainers.image.licenses=MIT