Files
natpass/build
T
2021-11-08 12:20:38 +08:00

11 lines
286 B
Python
Executable File

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