Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions 0.X/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN set -eux; \
aarch64) ARCH='arm64' ;; \
x86_64) ARCH='amd64' ;; \
x86) ARCH='386' ;; \
s390x) ARCH='s390x' ;; \
*) echo >&2 "error: unsupported architecture: $apkArch"; exit 1 ;; \
esac && \
VAULT_GPGKEY=C874011F0AB405110D02105534365D9472D7468F; \
Expand All @@ -32,6 +33,7 @@ RUN set -eux; \
test -z "$found" && echo >&2 "error: failed to fetch GPG key $VAULT_GPGKEY" && exit 1; \
mkdir -p /tmp/build && \
cd /tmp/build && \
if [ "$ARCH" == "s390x" ]; then VAULT_VERSION=${VAULT_VERSION}+ent; fi && \
wget https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_${ARCH}.zip && \
wget https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_SHA256SUMS && \
wget https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_SHA256SUMS.sig && \
Expand Down
2 changes: 1 addition & 1 deletion 0.X/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ oss-image:
# This target is used in CI to cross compile vault and vault-ent for 4 different architectures
# and publish (when XC_PUBLISH="--push") using docker buildx
xc-prod-image:
docker buildx build --platform linux/amd64,linux/arm64,linux/386,linux/arm/v6 \
docker buildx build --platform linux/amd64,linux/arm64,linux/386,linux/arm/v6,linux/s390x \
--build-arg VAULT_VERSION=$(VERSION)$(VAULT_VERSION_SUFFIX) \
--label version=$(VERSION) \
$(XC_PUBLISH) \
Expand Down