Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F24326814
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/Makefile b/Makefile
index ada46b4..7edb1e1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,18 +1,27 @@
export REGISTRY_NAME?=docker.io/hashicorp
export VERSION=1.8.0-rc2
-.PHONY: build ent-image oss-image
+.PHONY: build ent-image oss-image xc-prod-image
build: ent-image oss-image
ent-image: export PROJECT_NAME=vault-enterprise
ent-image: export TAG_SUFFIX=_ent
ent-image:
docker build --label version=$(VERSION) --build-arg VAULT_VERSION=$(VERSION)+ent --no-cache -t $(REGISTRY_NAME)/$(PROJECT_NAME):$(VERSION)$(TAG_SUFFIX) .
@../scripts/tag-images.sh
oss-image: export PROJECT_NAME=vault
oss-image:
docker build --label version=$(VERSION) --build-arg VAULT_VERSION=$(VERSION) --no-cache -t $(REGISTRY_NAME)/$(PROJECT_NAME):$(VERSION) .
@../scripts/tag-images.sh
+# 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 \
+ --build-arg VAULT_VERSION=$(VERSION)$(VAULT_VERSION_SUFFIX) \
+ --label version=$(VERSION) \
+ $(XC_PUBLISH) \
+ -t $(IMAGE_TAG) \
+ .
\ No newline at end of file
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Mon, Feb 16, 08:49 (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3451309
Default Alt Text
(1 KB)
Attached To
Mode
rDVAULT Docker Vault image
Attached
Detach File
Event Timeline
Log In to Comment