diff --git a/.github/Dockerfile b/.github/Dockerfile index e9bd588..f5335aa 100644 --- a/.github/Dockerfile +++ b/.github/Dockerfile @@ -1,11 +1,11 @@ ARG PLATFORM -FROM myunisoft91/heif-converter.$PLATFORM:v0.0.1 +FROM myunisoft91/heif-converter.$PLATFORM LABEL maintainer="Nicolas Marteau " WORKDIR heif-converter COPY . . RUN npm install -RUN npm run configure -RUN npm run build +RUN npm run configure -- --target=v18.12.0 +RUN npm run build -- --target=v18.12.0 RUN npm run test \ No newline at end of file diff --git a/platform/linux-x64/Dockerfile b/platform/linux-x64/Dockerfile index c72aef8..0d55e3a 100644 --- a/platform/linux-x64/Dockerfile +++ b/platform/linux-x64/Dockerfile @@ -18,7 +18,7 @@ RUN apt-get update && \ python3-mako \ && rm -rf /var/lib/apt/lists/* -RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - && \ +RUN curl -sL https://deb.nodesource.com/setup_20.x | bash - && \ apt-get install -y nodejs RUN git clone https://github.com/microsoft/vcpkg.git && \ diff --git a/platform/win32-ia32/Dockerfile b/platform/win32-ia32/Dockerfile index 9455978..a2810b3 100644 --- a/platform/win32-ia32/Dockerfile +++ b/platform/win32-ia32/Dockerfile @@ -6,7 +6,7 @@ RUN powershell -NoProfile -ExecutionPolicy Bypass -Command \ [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; \ iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" -RUN choco install -y nodejs --version=18.12.0 --x86 +RUN choco install -y nodejs --version=20.9.0 --x86 RUN choco install -y git visualstudio2019buildtools visualstudio2019-workload-vctools RUN choco install -y python3 diff --git a/platform/win32-x64/Dockerfile b/platform/win32-x64/Dockerfile index 9f4a766..04effdf 100644 --- a/platform/win32-x64/Dockerfile +++ b/platform/win32-x64/Dockerfile @@ -6,7 +6,7 @@ RUN powershell -NoProfile -ExecutionPolicy Bypass -Command \ [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; \ iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" -RUN choco install -y nodejs --version=18.12.0 +RUN choco install -y nodejs --version=20.9.0 RUN choco install -y git visualstudio2019buildtools visualstudio2019-workload-vctools RUN choco install -y python3