You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a makefile for building a docker image.
This should enable uses to build the container image manually.
define vars for each software component
- A_VERSION ?= latest
- override version defines in the dockerfile, --build-arg A_VERSION=$(A_VERSION)
- define DOCKER_BUILDS_ARGS standalone, then use $(DOCKER_BUILD_ARGS) for docker build DOCKER_BUILD_ARGS = --build-arg A_VERSION=$(A_VERSION) \ --build-arg B_VERSION=$(B_VERSION)
build
tag
push
clean
Usage maybe:
make build A_VERSION=1.0 B_VERSION=2.3 C_VERSION=4.5
make tag
make push
make clean
The text was updated successfully, but these errors were encountered:
Add a makefile for building a docker image.
This should enable uses to build the container image manually.
-
A_VERSION ?= latest
- override version defines in the dockerfile,
--build-arg A_VERSION=$(A_VERSION)
- define DOCKER_BUILDS_ARGS standalone, then use
$(DOCKER_BUILD_ARGS)
fordocker build
DOCKER_BUILD_ARGS = --build-arg A_VERSION=$(A_VERSION) \ --build-arg B_VERSION=$(B_VERSION)
Usage maybe:
The text was updated successfully, but these errors were encountered: