Skip to content

Commit

Permalink
fix: more fixes for nginx based testing ci dockers (openemr#7749)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymiller authored Oct 2, 2024
1 parent df05199 commit b884ee1
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 6 deletions.
6 changes: 5 additions & 1 deletion docker/library/dockers/dev-php-fpm-8-3-redis/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ RUN apt-get update
# and instead rely on php scripts, if possible.
RUN apt-get install -y mariadb-client \
imagemagick \
nodejs
curl

# Install correct version nodejs
RUN curl -sL https://deb.nodesource.com/setup_20.x | sudo bash -
RUN apt install nodejs

# Add the php extensions (note using a very cool script by mlocati to do this)
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
Expand Down
6 changes: 5 additions & 1 deletion docker/library/dockers/dev-php-fpm-8-3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ RUN apt-get update
# and instead rely on php scripts, if possible.
RUN apt-get install -y mariadb-client \
imagemagick \
nodejs
curl

# Install correct version nodejs
RUN curl -sL https://deb.nodesource.com/setup_20.x | sudo bash -
RUN apt install nodejs

# Add the php extensions (note using a very cool script by mlocati to do this)
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
Expand Down
8 changes: 6 additions & 2 deletions docker/library/dockers/dev-php-fpm-8-4-redis/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# php-fpm Dockerfile build for openemr development docker environment
# This docker is hosted here: https://hub.docker.com/r/openemr/dev-php-fpm/ <tag is 7.2>
#
FROM php:8.4-rc-fpm
FROM openemr/dev-php-fpm:pre-build-dev-84

# Update
RUN apt-get update
Expand All @@ -20,7 +20,11 @@ RUN apt-get update
# and instead rely on php scripts, if possible.
RUN apt-get install -y mariadb-client \
imagemagick \
nodejs
curl

# Install correct version nodejs
RUN curl -sL https://deb.nodesource.com/setup_20.x | sudo bash -
RUN apt install nodejs

# Add the php extensions (note using a very cool script by mlocati to do this)
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
Expand Down
8 changes: 6 additions & 2 deletions docker/library/dockers/dev-php-fpm-8-4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# php-fpm Dockerfile build for openemr development docker environment
# This docker is hosted here: https://hub.docker.com/r/openemr/dev-php-fpm/ <tag is 7.2>
#
FROM php:8.4-rc-fpm
FROM openemr/dev-php-fpm:pre-build-dev-84

# Update
RUN apt-get update
Expand All @@ -20,7 +20,11 @@ RUN apt-get update
# and instead rely on php scripts, if possible.
RUN apt-get install -y mariadb-client \
imagemagick \
nodejs
curl

# Install correct version nodejs
RUN curl -sL https://deb.nodesource.com/setup_20.x | sudo bash -
RUN apt install nodejs

# Add the php extensions (note using a very cool script by mlocati to do this)
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
Expand Down

0 comments on commit b884ee1

Please sign in to comment.