forked from OpenConext/OpenConext-BaseContainers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request OpenConext#13 from OpenConext/feature/php82_upgrad…
…e_node14_to_node20 PHP82: Create a node20 image. Node14 is not used at all. Removing it
- Loading branch information
Showing
3 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 5 additions & 4 deletions
9
php82-apache2-node14-composer2/Dockerfile → php82-apache2-node20-composer2/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
FROM ghcr.io/openconext/openconext-basecontainers/php82-apache2:latest | ||
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer | ||
SHELL ["/bin/bash", "--login", "-c"] | ||
COPY --from=node:20-slim /usr/local/bin /usr/local/bin | ||
COPY --from=node:20-slim /opt /opt | ||
COPY --from=node:20-slim /usr/local/lib/node_modules /usr/local/lib/node_modules | ||
RUN apt update && apt -y install git unzip | ||
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash | ||
RUN nvm install 14 | ||
RUN npm install -g yarn | ||
RUN pecl install xdebug && docker-php-ext-enable xdebug | ||
COPY ./conf/xdebug.ini /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini | ||
RUN apt autoremove -y && apt clean && apt autoclean && rm -rf /var/lib/apt/lists/* | ||
|
File renamed without changes.