Skip to content

Commit 128cd69

Browse files
committed
make windows image host-process compatible
Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
1 parent 937d885 commit 128cd69

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.dockerignore

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
.git
2-
.gitignore
3-
README.md
4-
/ci
5-
/src/csi-grpc-proxy
1+
**
2+
3+
!/builds

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# local testing
22
# docker build --pull -t foobar --build-arg TARGETPLATFORM="linux/amd64" .
3+
# docker run --rm -ti foobar
34

45
FROM alpine:3.15 as builder
56

Dockerfile.Windows

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ FROM mcr.microsoft.com/windows/nanoserver:${BASE_TAG}
1515

1616
LABEL org.opencontainers.image.source https://github.com/democratic-csi/csi-grpc-proxy
1717

18-
COPY builds/csi-grpc-proxy-docker-image-build-windows-amd64.exe C:/bin/csi-grpc-proxy.exe
19-
CMD c:\\bin\\csi-grpc-proxy.exe
18+
COPY builds/csi-grpc-proxy-docker-image-build-windows-amd64.exe C:/app/csi-grpc-proxy.exe
19+
WORKDIR /app
20+
CMD csi-grpc-proxy.exe

0 commit comments

Comments
 (0)