Skip to content

Commit

Permalink
fix: building one of the docker images for construct hub fails
Browse files Browse the repository at this point in the history
  • Loading branch information
madeline-k committed Oct 6, 2023
1 parent 7107eaf commit f8221ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion projenrc/magic-ecs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ function newEcsTask(project: TypeScriptProject, entrypoint: string) {
df.line('FROM public.ecr.aws/amazonlinux/amazonlinux:2');
df.line();
// Install node the regular way...
df.line('RUN curl -fsSL https://rpm.nodesource.com/setup_16.x | bash - \\');
df.line('RUN yum install https://rpm.nodesource.com/pub_16.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y \\');
df.line(' && yum install nodejs -y --setopt=nodesource-nodejs.module_hotfixes=1 \\');
df.line(' && yum update -y \\');
df.line(' && yum upgrade -y \\');
df.line(' && yum install -y git lsof nodejs \\');
Expand Down

0 comments on commit f8221ad

Please sign in to comment.