forked from thanos-io/thanos
-
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.
support build docker images for arm64 arch (thanos-io#1906)
* Support build docker images for arm64 arch Signed-off-by: Xiang Dai <[email protected]> * Use Dockerfile.multi-stage Signed-off-by: Long Dai <[email protected]> * CHANGELOG: fix entry Signed-off-by: Giedrius Statkevičius <[email protected]> * Makefile: fix SHA values Signed-off-by: Giedrius Statkevičius <[email protected]> * .circleci: create new manifest after pushing image Only create a manifest & push it after pushing images with the new names. Signed-off-by: Giedrius Statkevičius <[email protected]> * fix revert issue Signed-off-by: Loong <[email protected]> * update Signed-off-by: Loong <[email protected]> * add crossbuild Signed-off-by: Loong <[email protected]> * Dockerfile.multi-arch: update SHA Signed-off-by: Giedrius Statkevičius <[email protected]> * .dockerignore: remove .promu Signed-off-by: Giedrius Statkevičius <[email protected]> * add logic for main Signed-off-by: Loong <[email protected]> * Makefile: use $(shell) for getting value Signed-off-by: Giedrius Statkevičius <[email protected]> Co-authored-by: Giedrius Statkevičius <[email protected]> Co-authored-by: Loong <[email protected]>
- Loading branch information
1 parent
9a26b0e
commit 58f042d
Showing
4 changed files
with
74 additions
and
14 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 |
---|---|---|
|
@@ -14,7 +14,6 @@ data/ | |
test/e2e/e2e_integration_test* | ||
|
||
# Ignore promu artifacts. | ||
/.build | ||
/.release | ||
/.tarballs | ||
|
||
|
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,12 @@ | ||
# By default we pin to amd64 sha. Use make docker to automatically adjust for arm64 versions. | ||
ARG BASE_DOCKER_SHA="97a9aacc097e5dbdec33b0d671adea0785e76d26ff2b979ee28570baf6a9155d" | ||
|
||
FROM quay.io/prometheus/busybox@sha256:${BASE_DOCKER_SHA} | ||
LABEL maintainer="The Thanos Authors" | ||
|
||
ARG ARCH="amd64" | ||
ARG OS="linux" | ||
|
||
COPY .build/${OS}-${ARCH}/thanos /bin/thanos | ||
|
||
ENTRYPOINT [ "/bin/thanos" ] |
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