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
|
go-bindata -pkg logfile -o ./pkg/logfile/bindata_test.go ./pkg/logfile/test
|
||||||
|
|
||||||
container-build:
|
container-build:
|
||||||
|
$(MAKE) container-run COMMAND=build
|
||||||
|
|
||||||
|
container-test:
|
||||||
|
$(MAKE) container-run COMMAND=test
|
||||||
|
|
||||||
|
container-run:
|
||||||
docker run \
|
docker run \
|
||||||
--volume ${PWD}:/workspace \
|
--volume ${PWD}:/workspace \
|
||||||
volkerraschek/build-image:1.0.0 \
|
volkerraschek/build-image:latest\
|
||||||
make build UID=${UID} GID=${GID} VERSION=${VERSION} GOOS=${GOOS} GOARCH=${GOARCH}
|
make ${COMMAND} UID=${UID} GID=${GID} VERSION=${VERSION} GOOS=${GOOS} GOARCH=${GOARCH}
|
||||||
|
|
||||||
remote:
|
remote:
|
||||||
$(MAKE) build GOARCH=arm
|
$(MAKE) build GOARCH=arm
|
||||||
|
Loading…
Reference in New Issue
Block a user