File tree Expand file tree Collapse file tree
php82-apache2-node20-composer2 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM ghcr.io/openconext/openconext-basecontainers/php82-apache2:latest
2+
23COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
34COPY --from=node:20-slim /usr/local/bin /usr/local/bin
45COPY --from=node:20-slim /opt /opt
56COPY --from=node:20-slim /usr/local/lib/node_modules /usr/local/lib/node_modules
6- RUN apt update && apt -y install git unzip zip vim
7- RUN pecl install xdebug && docker-php-ext-enable xdebug
7+
8+ RUN \
9+ apt update && \
10+ apt -y install \
11+ git \
12+ unzip \
13+ zip \
14+ vim \
15+ && \
16+ rm -rf /var/lib/apt/lists/* /var/cache/apt
17+
18+ RUN \
19+ pecl install xdebug && \
20+ docker-php-ext-enable xdebug
821COPY ./conf/xdebug.ini /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
9- RUN apt autoremove -y && apt clean && apt autoclean && rm -rf /var/lib/apt/lists/*
10- RUN mkdir -p /var/www/html/public
11- RUN rm -rf /etc/apache2/sites-enabled/*
22+
23+ RUN \
24+ rm -rf /etc/apache2/sites-enabled/* && \
25+ mkdir -p /var/www/html/public
26+
1227COPY ./conf/appconf.conf /etc/apache2/sites-enabled/
You can’t perform that action at this time.
0 commit comments