-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci_: run generate, update docker file deps
- Loading branch information
1 parent
8f32e57
commit 5becff3
Showing
5 changed files
with
44 additions
and
2 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 |
---|---|---|
|
@@ -5,7 +5,7 @@ FROM golang:1.21-alpine3.18 as builder | |
ENV CC=clang | ||
ENV CXX=clang++ | ||
|
||
RUN apk add --no-cache make llvm clang musl-dev linux-headers | ||
RUN apk add --no-cache git make llvm clang musl-dev linux-headers protobuf-dev~3.21 | ||
|
||
ARG build_tags | ||
ARG build_flags | ||
|
@@ -14,6 +14,10 @@ ARG build_target=statusgo | |
RUN mkdir -p /go/src/github.com/status-im/status-go | ||
WORKDIR /go/src/github.com/status-im/status-go | ||
ADD . . | ||
|
||
RUN go install go.uber.org/mock/[email protected] | ||
RUN go install github.com/kevinburke/go-bindata/v4/[email protected] | ||
RUN go install google.golang.org/protobuf/cmd/[email protected] | ||
RUN make $build_target BUILD_TAGS="$build_tags" BUILD_FLAGS="$build_flags" SHELL="/bin/sh" | ||
|
||
# Copy the binary to the second image | ||
|
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
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