Skip to content

Commit

Permalink
Merge pull request #23 from architmallik7/revert-22-CI-15650
Browse files Browse the repository at this point in the history
Revert "Updated windows-1809 docker file"
  • Loading branch information
Ompragash authored Jan 21, 2025
2 parents 4639eea + 989927f commit 6590b87
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions docker/ecr/Dockerfile.windows.amd64.1809
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
# escape=`

# Use server core to extract required dependencies
FROM mcr.microsoft.com/windows/servercore:ltsc2019 as core

# Use nanoserver for the runtime image
FROM mcr.microsoft.com/windows/nanoserver:ltsc2019
USER ContainerAdministrator

ENV GODEBUG=netdns=go
COPY --from=core /windows/system32/netapi32.dll /windows/system32/netapi32.dll
FROM plugins/buildx:windows-1809-amd64

LABEL maintainer="Drone.IO Community <[email protected]>" `
org.label-schema.name="Drone BuildX" `
org.label-schema.name="Drone ECR" `
org.label-schema.vendor="Drone.IO Community" `
org.label-schema.schema-version="1.0"

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

0 comments on commit 6590b87

Please sign in to comment.