fix(Makefile): use new version of build-image and fix container run steps
This commit is contained in:
parent
402f5d4ff8
commit
c81cd2d21c
10
Makefile
10
Makefile
@ -27,10 +27,16 @@ bindata:
|
||||
go-bindata -pkg logfile -o ./pkg/logfile/bindata_test.go ./pkg/logfile/test
|
||||
|
||||
container-build:
|
||||
$(MAKE) container-run COMMAND=build
|
||||
|
||||
container-test:
|
||||
$(MAKE) container-run COMMAND=test
|
||||
|
||||
container-run:
|
||||
docker run \
|
||||
--volume ${PWD}:/workspace \
|
||||
volkerraschek/build-image:1.0.0 \
|
||||
make build UID=${UID} GID=${GID} VERSION=${VERSION} GOOS=${GOOS} GOARCH=${GOARCH}
|
||||
volkerraschek/build-image:latest\
|
||||
make ${COMMAND} UID=${UID} GID=${GID} VERSION=${VERSION} GOOS=${GOOS} GOARCH=${GOARCH}
|
||||
|
||||
remote:
|
||||
$(MAKE) build GOARCH=arm
|
||||
|
Loading…
Reference in New Issue
Block a user