forked from akeneo/pim-community-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.dev
31 lines (25 loc) · 1 KB
/
Dockerfile.dev
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
FROM akeneo/pim-php-base:master
ENV PHP_CONF_OPCACHE_VALIDATE_TIMESTAMP=1
RUN apt-get update && \
apt-get --yes install gnupg &&\
sh -c 'wget -q -O - https://packages.blackfire.io/gpg.key |APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=DontWarn apt-key add -' &&\
sh -c 'echo "deb http://packages.blackfire.io/debian any main" > /etc/apt/sources.list.d/blackfire.list' &&\
apt-get update && \
apt-get --yes install \
blackfire-agent \
blackfire-php \
curl \
default-mysql-client \
git \
perceptualdiff \
php7.4-xdebug \
procps \
unzip &&\
apt-get clean && \
rm -rf /var/lib/apt/lists/*
COPY docker/build/xdebug.ini /etc/php/7.4/cli/conf.d/99-akeneo-xdebug.ini
COPY docker/build/xdebug.ini /etc/php/7.4/fpm/conf.d/99-akeneo-xdebug.ini
COPY --from=composer:2 /usr/bin/composer /usr/local/bin/composer
RUN chmod +x /usr/local/bin/composer
RUN mkdir -p /var/www/.composer && chown www-data:www-data /var/www/.composer
VOLUME /srv/pim