Hi,
This PR is for improving the user experience of docker-build. And the related issue is #6
I intorduce the REGISTRY and TAG in Makefile. And introduce the USE_VENDOR in Dockerfile. I also remove the hard code in Dockerfile about the platform.
Thus, the developer can build image by following commands
# build image with tag "kvrocks.com/kvrockslabs/kvrocks-operator:latest"
make docker-build
# build image with tag "kvrockslabs/kvrocks-operator:latest"
REGISTRY=kvrockslabs make docker-build
# build image with tag "kvrocks.com/kvrockslabs/kvrocks-operator:nightly"
TAG=nightly make docker-build
To build faster (using vendor) by following commands
make docker-build-vendor
Note! the above introduction will be added in the development guide #5
Reminder: There are currently missing essential test cases in the code, and I'm working hard to complete them.
Hi, This PR is for improving the user experience of docker-build. And the related issue is #6
I intorduce the
REGISTRY
andTAG
in Makefile. And introduce theUSE_VENDOR
in Dockerfile. I also remove the hard code in Dockerfile about the platform.Thus, the developer can build image by following commands
To build faster (using vendor) by following commands
Note! the above introduction will be added in the development guide #5
Reminder: There are currently missing essential test cases in the code, and I'm working hard to complete them.