Files
natpass/build
T
2022-09-19 11:27:00 +08:00

11 lines
305 B
Python
Executable File

#!/bin/sh
VERSION=0.11.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 /build/contrib/build/build "$@"