Skip to content

Commit 0b505fd

Browse files
authored
Merge pull request #125 from GrahamCampbell/node-18
Fix installation of node for container image
2 parents 0a80e27 + 7034018 commit 0b505fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

layers/fpm-dev/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ COPY --link bref-entrypoint.sh /
2727
RUN chmod +x /bref-entrypoint.sh
2828

2929
# Install node to run the JS app below
30-
RUN curl --silent --location https://rpm.nodesource.com/setup_16.x | bash -
31-
RUN yum install --setopt=skip_missing_names_on_install=False -y nodejs
30+
RUN yum install https://rpm.nodesource.com/pub_16.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y
31+
RUN yum install --setopt=nodesource-nodejs.module_hotfixes=1 --setopt=skip_missing_names_on_install=False -y nodejs
3232

3333
# Install the bref/local-api-gateway app in our container (avoids running 2 containers)
3434
COPY --link --from=bref/local-api-gateway /app /local-api-gateway

0 commit comments

Comments
 (0)