Skip to content

Commit df9650a

Browse files
dploegerDennis Ploeger
authored andcommitted
fix: Fixing NodeJS on AWS
1 parent 394c807 commit df9650a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

flavour/aws/Dockerfile.flavour

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ RUN yum install -y sudo shadow-utils unzip tar net-tools curl && \
1313

1414
# AWS Sudo
1515

16-
RUN curl -sL https://rpm.nodesource.com/setup_16.x | bash - && \
17-
yum install -y nodejs && \
18-
npm install -g awsudo
16+
RUN yum install https://rpm.nodesource.com/pub_16.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y && \
17+
yum install nodejs -y --setopt=nodesource-nodejs.module_hotfixes=1
18+
19+
RUN npm install -g awsudo
1920

2021
# Flavour
2122

0 commit comments

Comments
 (0)