Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F11722953
Makefile
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1017 B
Referenced Files
None
Subscribers
None
Makefile
View Options
export REGISTRY_NAME?=docker.io/hashicorp
export VERSION=1.10.7
.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) \
.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Sep 18, 07:00 (21 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2990144
Default Alt Text
Makefile (1017 B)
Attached To
Mode
rDVAULT Docker Vault image
Attached
Detach File
Event Timeline
Log In to Comment