Skip to content

Commit

Permalink
Merge pull request #36 from tphoney/windows_dockerfile
Browse files Browse the repository at this point in the history
update manifest version
  • Loading branch information
TP Honey authored Dec 16, 2022
2 parents c7afa18 + 8eeefa8 commit 79f39c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions docker/Dockerfile.windows.1809
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" `
org.label-schema.vendor="Drone.IO Community" `
org.label-schema.schema-version="1.0"

ENV MANIFEST_TOOL_VERSION 1.0.2

RUN New-Item -ItemType directory -Path 'C:/bin'; `
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
Invoke-WebRequest ('https://github.com/estesp/manifest-tool/releases/download/v{0}/manifest-tool-windows-amd64.exe' -f $env:MANIFEST_TOOL_VERSION) -OutFile 'C:/bin/manifest-tool.exe';
Invoke-WebRequest ('https://github.com/estesp/manifest-tool/releases/download/v1.0.3/manifest-tool-windows-amd64.exe' -OutFile 'C:/bin/manifest-tool.exe';

ADD release/windows/amd64/drone-manifest.exe C:/bin/drone-manifest.exe
ENTRYPOINT [ "C:\\bin\\drone-manifest.exe" ]
4 changes: 1 addition & 3 deletions docker/Dockerfile.windows.ltsc2022
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" `
org.label-schema.vendor="Drone.IO Community" `
org.label-schema.schema-version="1.0"

ENV MANIFEST_TOOL_VERSION 1.0.2

RUN New-Item -ItemType directory -Path 'C:/bin'; `
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
Invoke-WebRequest ('https://github.com/estesp/manifest-tool/releases/download/v{0}/manifest-tool-windows-amd64.exe' -f $env:MANIFEST_TOOL_VERSION) -OutFile 'C:/bin/manifest-tool.exe';
Invoke-WebRequest ('https://github.com/estesp/manifest-tool/releases/download/v1.0.3/manifest-tool-windows-amd64.exe' -OutFile 'C:/bin/manifest-tool.exe';

ADD release/windows/amd64/drone-manifest.exe C:/bin/drone-manifest.exe
ENTRYPOINT [ "C:\\bin\\drone-manifest.exe" ]

0 comments on commit 79f39c5

Please sign in to comment.