mirror of
https://github.com/bcicen/ctop.git
synced 2025-12-06 15:16:41 +08:00
combine image build steps
This commit is contained in:
3
Makefile
3
Makefile
@@ -22,9 +22,6 @@ build-all:
|
||||
GOOS=linux GOARCH=arm64 go build -tags release -ldflags $(LD_FLAGS) -o _build/ctop-$(VERSION)-linux-arm64
|
||||
|
||||
image:
|
||||
docker build -t ctop_build -f Dockerfile_build .
|
||||
docker create --name=ctop_built ctop_build ctop -v
|
||||
docker cp ctop_built:/go/bin/ctop .
|
||||
docker build -t ctop -f Dockerfile .
|
||||
|
||||
release:
|
||||
|
||||
Reference in New Issue
Block a user