Files
natpass/build_all
T
2022-06-15 11:34:18 +08:00

11 lines
313 B
Bash
Executable File

#!/bin/sh
VERSION=0.8.5
DOCKER_BUILDKIT=1 docker build -t natpass -f contrib/build/Dockerfile .
docker run --rm \
-v `pwd`:/build \
-v $HOME/.cache/go-build:/root/.cache/go-build \
-v $HOME/go/pkg/mod:/root/go/pkg/mod \
-e BUILD_VERSION=$VERSION \
natpass go run /build/contrib/build/build_all.go