From 59dabed380cde4fc5e3936b8ba05f018580f72da Mon Sep 17 00:00:00 2001 From: Ryan Cohen Date: Sun, 5 Nov 2023 19:18:21 +0900 Subject: [PATCH] build: update node to 20.9 (#3668) --- .github/workflows/ci.yml | 2 +- Dockerfile | 12 ++++++------ Dockerfile.local | 2 +- snap/snapcraft.yaml | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4914d337..7920feb3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: name: Lint & Test Build if: github.event_name == 'pull_request' runs-on: ubuntu-20.04 - container: node:16.17-alpine + container: node:20.9-alpine steps: - name: Checkout uses: actions/checkout@v3 diff --git a/Dockerfile b/Dockerfile index 851ba472..11c333d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16.17-alpine AS BUILD_IMAGE +FROM node:20.9-alpine AS BUILD_IMAGE WORKDIR /app @@ -7,10 +7,10 @@ ENV TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64} RUN \ case "${TARGETPLATFORM}" in \ - 'linux/arm64' | 'linux/arm/v7') \ - apk add --no-cache python3 make g++ && \ - ln -s /usr/bin/python3 /usr/bin/python \ - ;; \ + 'linux/arm64' | 'linux/arm/v7') \ + apk add --no-cache python3 make g++ && \ + ln -s /usr/bin/python3 /usr/bin/python \ + ;; \ esac COPY package.json yarn.lock ./ @@ -33,7 +33,7 @@ RUN touch config/DOCKER RUN echo "{\"commitTag\": \"${COMMIT_TAG}\"}" > committag.json -FROM node:16.17-alpine +FROM node:20.9-alpine WORKDIR /app diff --git a/Dockerfile.local b/Dockerfile.local index 39e0534f..0edc660b 100644 --- a/Dockerfile.local +++ b/Dockerfile.local @@ -1,4 +1,4 @@ -FROM node:16.17-alpine +FROM node:20.9-alpine COPY . /app WORKDIR /app diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 3b693643..1010d6d3 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -16,7 +16,7 @@ architectures: parts: overseerr: plugin: nodejs - nodejs-version: '16.17.0' + nodejs-version: '20.9.0' nodejs-package-manager: 'yarn' nodejs-yarn-version: v1.22.17 build-packages: