-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from architmallik7/revert-22-CI-15650
Revert "Updated windows-1809 docker file"
- Loading branch information
Showing
1 changed file
with
4 additions
and
13 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 |
---|---|---|
@@ -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" ] |