diff --git a/.github/workflows/ci-checkout.yml b/.github/workflows/ci-checkout.yml index a6b964af..0481b2cd 100644 --- a/.github/workflows/ci-checkout.yml +++ b/.github/workflows/ci-checkout.yml @@ -28,7 +28,7 @@ jobs: - name: Set up Nodejs uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 - name: Run CI script run: | diff --git a/src/checkout/Dockerfile b/src/checkout/Dockerfile index 4a704441..f74f79ee 100644 --- a/src/checkout/Dockerfile +++ b/src/checkout/Dockerfile @@ -4,12 +4,14 @@ FROM public.ecr.aws/amazonlinux/amazonlinux:2023 # weak dependencies in DNF terminology, thus keeping our installed set of # packages as minimal as possible. RUN dnf --setopt=install_weak_deps=False install -q -y \ - nodejs \ + nodejs20 \ npm \ shadow-utils \ && \ dnf clean all +RUN alternatives --install /usr/bin/node node /usr/bin/node-20 90 + ENV APPUSER=appuser ENV APPUID=1000 ENV APPGID=1000