forked from sigp/lighthouse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
166a3cd
commit 8462807
Showing
3 changed files
with
30 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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[target.x86_64-unknown-linux-gnu] | ||
pre-build = ["apt-get install -y cmake clang-3.9"] | ||
dockerfile = './scripts/cross/x86_64-unknown-linux-gnu.dockerfile' | ||
|
||
[target.aarch64-unknown-linux-gnu] | ||
pre-build = ["apt-get install -y cmake clang-3.9"] | ||
dockerfile = './scripts/cross/aarch64-unknown-linux-gnu.dockerfile' |
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,14 @@ | ||
ARG CROSS_BASE_IMAGE | ||
FROM $CROSS_BASE_IMAGE | ||
|
||
RUN apt-get update -y && apt-get upgrade -y | ||
|
||
RUN apt-get install -y unzip && \ | ||
PB_REL="https://github.com/protocolbuffers/protobuf/releases" && \ | ||
curl -L $PB_REL/download/v3.15.8/protoc-3.15.8-linux-aarch_64.zip -o protoc.zip && \ | ||
unzip protoc.zip -d /usr && \ | ||
chmod +x /usr/bin/protoc | ||
|
||
RUN apt-get install -y cmake clang-3.9 | ||
|
||
ENV PROTOC=/usr/bin/protoc |
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,14 @@ | ||
ARG CROSS_BASE_IMAGE | ||
FROM $CROSS_BASE_IMAGE | ||
|
||
RUN apt-get update -y && apt-get upgrade -y | ||
|
||
RUN apt-get install -y unzip && \ | ||
PB_REL="https://github.com/protocolbuffers/protobuf/releases" && \ | ||
curl -L $PB_REL/download/v3.15.8/protoc-3.15.8-linux-x86_64.zip -o protoc.zip && \ | ||
unzip protoc.zip -d /usr && \ | ||
chmod +x /usr/bin/protoc | ||
|
||
RUN apt-get install -y cmake clang-3.9 | ||
|
||
ENV PROTOC=/usr/bin/protoc |