-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
multiarch: use normal Dockerfiles and build command
This removes code duplication: - the same Go environment is used for multiarch and for testing - BUILD_PLATFORMS determines what is getting build instead of hard-coding that in the make target - no separate Dockerfile.multiarch During the actual cloud build, BUILD_PLATFORMS is taken from the shared prow.sh. There's currently no support for overriding that per repo. We still need separate Dockerfiles for Linux and Windows because Windows has special requirements. In some lines, indention is changed to use tabs.
- Loading branch information
Showing
4 changed files
with
55 additions
and
43 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,6 +1,7 @@ | ||
FROM gcr.io/distroless/static:latest | ||
LABEL maintainers="Kubernetes Authors" | ||
LABEL description="CSI Node driver registrar" | ||
ARG binary=./bin/csi-node-driver-registrar | ||
|
||
COPY ./bin/csi-node-driver-registrar csi-node-driver-registrar | ||
COPY ${binary} csi-node-driver-registrar | ||
ENTRYPOINT ["/csi-node-driver-registrar"] |
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
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