mirror of
https://github.com/gravitational/teleport
synced 2024-10-19 16:53:57 +00:00
ba75bd9869
* Remove unnecessary cgo and simplify image build * Add a target outputting the buildbox image * Use static distroless image as base image
20 lines
909 B
Makefile
20 lines
909 B
Makefile
# Those variables are extracted from build.assets/Makefile so they can be imported
|
|
# by other Makefiles
|
|
# These values may need to be updated in `dronegen/container_image_products.go` if
|
|
# they change here
|
|
BUILDBOX_VERSION ?= teleport13
|
|
BUILDBOX_BASE_NAME ?= public.ecr.aws/gravitational/teleport-buildbox
|
|
|
|
BUILDBOX=$(BUILDBOX_BASE_NAME):$(BUILDBOX_VERSION)
|
|
BUILDBOX_FIPS=$(BUILDBOX_BASE_NAME)-fips:$(BUILDBOX_VERSION)
|
|
BUILDBOX_CENTOS7=$(BUILDBOX_BASE_NAME)-centos7:$(BUILDBOX_VERSION)
|
|
BUILDBOX_CENTOS7_FIPS=$(BUILDBOX_BASE_NAME)-centos7-fips:$(BUILDBOX_VERSION)
|
|
BUILDBOX_ARM=$(BUILDBOX_BASE_NAME)-arm:$(BUILDBOX_VERSION)
|
|
BUILDBOX_ARM_FIPS=$(BUILDBOX_BASE_NAME)-arm-fips:$(BUILDBOX_VERSION)
|
|
BUILDBOX_UI=$(BUILDBOX_BASE_NAME)-ui:$(BUILDBOX_VERSION)
|
|
BUILDBOX_CENTOS7_ASSETS=$(BUILDBOX_BASE_NAME)-centos7-assets:$(BUILDBOX_VERSION)
|
|
|
|
.PHONY:show-buildbox-base-image
|
|
show-buildbox-base-image:
|
|
@echo "$(BUILDBOX)"
|