RocksLabs / kvrocks-operator

Apache License 2.0
36 stars 15 forks source link

improving the user experience of docker build #6

Closed jiayouxujin closed 1 year ago

jiayouxujin commented 1 year ago

Hi,

We can improve the docker build like this

# Build a image and tag with "kvrocks-operator:latest"
make docker-build

# Build a image and tag with "kvrocks/kvrocks-operator:latest"
REGISTRY=kvrocks make docker-build

# Build a image and tag with "kvrocks-operator:nightly"
TAG=nightly make docker-build

And introduce the vendor variable into the Dockerfile to build faster.