-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
38 lines (33 loc) · 751 Bytes
/
Dockerfile
File metadata and controls
38 lines (33 loc) · 751 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
37
38
FROM php:8-cli
RUN apt-get update && apt-get install -y \
catatonit \
git \
unzip \
zip \
libicu-dev \
libpng-dev \
libjpeg-dev \
libfreetype6-dev \
libonig-dev \
libxml2-dev \
libzip-dev \
curl \
nano \
wget \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-configure intl \
&& docker-php-ext-install \
intl \
pdo_mysql \
mbstring \
exif \
pcntl \
bcmath \
gd \
zip \
opcache
COPY --from=mirror.gcr.io/composer/composer:latest-bin /composer /usr/local/bin/composer
WORKDIR /var/www/html
STOPSIGNAL SIGINT
ENTRYPOINT ["catatonit", "-g", "--"]
CMD ["composer", "run", "test"]