-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add dockerfile fro windows x64 & x86, improve .yml
- Loading branch information
Showing
7 changed files
with
110 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
ARG PLATFORM | ||
ARG ARCH | ||
FROM myunisoft91/heif-converter.$PLATFORM:v0.0.1 | ||
LABEL maintainer="Nicolas Marteau <[email protected]>" | ||
|
||
WORKDIR heif-converter | ||
COPY . . | ||
RUN npm install | ||
RUN npm run configure -- --arch=${ARCH:-x64} | ||
RUN npm run build -- --arch=${ARCH:-x64} | ||
RUN npm run test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM mcr.microsoft.com/windows/servercore:ltsc2022 | ||
LABEL maintainer="Nicolas Marteau <[email protected]>" | ||
|
||
RUN powershell -NoProfile -ExecutionPolicy Bypass -Command \ | ||
"Set-ExecutionPolicy Bypass -Scope Process; \ | ||
[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 git visualstudio2019buildtools visualstudio2019-workload-vctools | ||
RUN choco install -y python3 | ||
|
||
RUN git clone https://github.com/microsoft/vcpkg.git | ||
RUN .\vcpkg\bootstrap-vcpkg.bat | ||
RUN .\vcpkg\vcpkg install libheif:x86-windows libpng:x86-windows libjpeg-turbo:x86-windows | ||
|
||
CMD ["powershell"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM mcr.microsoft.com/windows/servercore:ltsc2022 | ||
LABEL maintainer="Nicolas Marteau <[email protected]>" | ||
|
||
RUN powershell -NoProfile -ExecutionPolicy Bypass -Command \ | ||
"Set-ExecutionPolicy Bypass -Scope Process; \ | ||
[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 git visualstudio2019buildtools visualstudio2019-workload-vctools | ||
RUN choco install -y python3 | ||
|
||
RUN git clone https://github.com/microsoft/vcpkg.git | ||
RUN .\vcpkg\bootstrap-vcpkg.bat | ||
RUN .\vcpkg\vcpkg install libheif libpng libjpeg-turbo | ||
|
||
CMD ["powershell"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters