Sha256: 2d7a07cf4eb14d2771b5aba5fd68bc5518e314c28848bf2300b4d19b4a245a22
Contents?: true
Size: 570 Bytes
Versions: 11
Compression:
Stored size: 570 Bytes
Contents
IMAGE_NAMES := lsp check BUILD_TARGETS := $(patsubst %,build-%,$(IMAGE_NAMES)) PUSH_TARGETS := $(patsubst %,push-%,$(IMAGE_NAMES)) VERSION=$(shell ruby -r ./lib/platformos_check/version.rb -e "puts PlatformosCheck::VERSION") IMAGE_NAME=platformos/platformos build: $(BUILD_TARGETS) build-%: docker build --build-arg VERSION=${VERSION} -t ${IMAGE_NAME}-$*:${VERSION} -f docker/$*.Dockerfile . docker tag ${IMAGE_NAME}-$*:${VERSION} ${IMAGE_NAME}-$*:latest push: $(PUSH_TARGETS) push-%: docker push ${IMAGE_NAME}-$*:${VERSION} docker push ${IMAGE_NAME}-$*:latest
Version data entries
11 entries across 11 versions & 1 rubygems