Files
natpass/build_all
T
2022-07-28 15:39:12 +08:00

11 lines
314 B
Bash
Executable File

#!/bin/sh
VERSION=0.10.0
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