-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: add
make docker-generate-protobuf
to update genedated `*.pb.…
…go` files It seems that not all developers use an updated version of Fedora. For the contributors that need to update `*.proto` files and re-generate the related `*.pb.go` files, the new `make docker-generate-protobuf` command will be very useful. This includes detection for Podman or Docker in the `Makefile`, so that developers can use euther (Podman recommended!). Signed-off-by: Niels de Vos <[email protected]>
- Loading branch information
Showing
2 changed files
with
51 additions
and
15 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
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM quay.io/fedora/fedora:latest | ||
|
||
ENV GOPATH=/go \ | ||
PATH="${GOPATH}/bin:${PATH}" | ||
|
||
RUN dnf -y install \ | ||
git \ | ||
make \ | ||
golang \ | ||
protobuf-compiler \ | ||
&& dnf -y update \ | ||
&& dnf clean all \ | ||
&& rm -rf /var/cache/yum \ | ||
&& true | ||
|
||
WORKDIR "/go/src/github.com/csi-addons/kubernetes-csi-addons" |