Skip to content

Commit

Permalink
Update to nodejs 18 for tests docker stack
Browse files Browse the repository at this point in the history
  • Loading branch information
nboisteault committed Sep 14, 2023
1 parent 6d1c1d9 commit 55e89eb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
10 changes: 7 additions & 3 deletions dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ RUN export DEBIAN_FRONTEND=noninteractive && apt-get install -y --no-install-rec
zip \
; apt-get clean

#install nodejs and npm to build js files
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - \
&& apt-get install -y nodejs
# Install nodejs and npm to build js files
RUN apt-get install -y ca-certificates curl gnupg \
&& mkdir -p /etc/apt/keyrings \
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
&& apt-get update \
&& apt-get install nodejs -y
9 changes: 6 additions & 3 deletions tests/docker-conf/phpfpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ ARG php_version
ARG DEBIAN_FRONTEND=noninteractive
ENV PHP_VERSION=${php_version}


RUN set -eux; \
apt-get update; \
apt-get -y install inotify-tools \
Expand All @@ -16,8 +15,12 @@ RUN set -eux; \
; apt-get clean

# Install nodejs and npm to build js files
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - \
&& apt-get install -y nodejs
RUN apt-get install -y ca-certificates curl gnupg \
&& mkdir -p /etc/apt/keyrings \
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
&& apt-get update \
&& apt-get install nodejs -y

RUN set -eux; \
mkdir -p /etc/openldap/ /etc/ssl/ldap/; \
Expand Down

0 comments on commit 55e89eb

Please sign in to comment.