-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing format issues on different vendor folders.
- Loading branch information
Showing
2 changed files
with
11 additions
and
7 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 |
---|---|---|
|
@@ -8,7 +8,7 @@ RUN go install google.golang.org/protobuf/cmd/[email protected] | |
|
||
# Install git and its dependencies to enable cloning as we generate protos from remote for OCSF. | ||
FROM alpine AS git | ||
RUN apk --no-cache add git ca-certificates openssl | ||
RUN apk --no-cache add git ca-certificates openssl diffutils | ||
RUN mkdir -p /git-deps/bin /git-deps/lib /git-deps/etc/ssl/certs | ||
RUN cp /usr/bin/git /git-deps/bin | ||
RUN cp /usr/libexec/git-core/git-remote-https /git-deps/bin/ | ||
|
@@ -25,6 +25,7 @@ COPY --from=git /git-deps/bin/git /usr/bin/ | |
COPY --from=git /git-deps/bin/git-remote-https /usr/bin/ | ||
COPY --from=git /git-deps/lib /lib/ | ||
COPY --from=git /git-deps/etc/ssl/certs /etc/ssl/certs/ | ||
COPY --from=git /usr/bin/diff /usr/bin/diff | ||
ENV GIT_SSL_CAINFO=/etc/ssl/certs/ca-certificates.crt | ||
ENV PATH="/go/bin:/usr/bin:${PATH}" | ||
ENTRYPOINT ["/go/bin/buf"] |