Skip to content

Commit

Permalink
fix protoc_gen_openapi
Browse files Browse the repository at this point in the history
  • Loading branch information
leonteq-reisg authored and strophy committed Jan 16, 2025
1 parent 9656158 commit c618b4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ WORKDIR ${GOPATH}/src/github.com/solo-io/protoc-gen-openapi
RUN go mod download
ARG TARGETPLATFORM
RUN xx-go --wrap
RUN go build -ldflags '-w -s' -o /protoc-gen-openapi-out/protoc-gen-openapi ./cmd/protoc-gen-openapi
RUN install -D /protoc-gen-openapi-out/protoc-gen-openapi /out/usr/bin/protoc-gen-openapi
RUN make build
RUN install -D _output/.bin/protoc-gen-openapi /out/usr/bin/protoc-gen-openapi
RUN xx-verify /out/usr/bin/protoc-gen-openapi


Expand Down Expand Up @@ -428,6 +428,7 @@ COPY --from=protoc_gen_lint /out/ /out/
COPY --from=protoc_gen_rust /out/ /out/
COPY --from=protoc_gen_scala /out/ /out/
COPY --from=protoc_gen_validate /out/ /out/
COPY --from=protoc_gen_openapi /out/ /out/
RUN find /out/usr/bin/ -type f \
-name 'protoc-gen-*' | \
xargs -P $(nproc) -I{} \
Expand Down
1 change: 1 addition & 0 deletions check-versions.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ func main() {
{"danielvladco", "go-proto-gql"},
{"ckaznocha", "protoc-gen-lint"},
{"envoyproxy", "protoc-gen-validate"},
{"solo-io", "protoc-gen-openapi"},
{"stepancheg", "rust-protobuf"},
{"rust-lang", "rust"},
{"apple", "swift"},
Expand Down

0 comments on commit c618b4a

Please sign in to comment.