mirror of
https://github.com/lwch/natpass.git
synced 2024-04-21 12:41:54 +00:00
11 lines
305 B
Python
Executable File
11 lines
305 B
Python
Executable File
#!/bin/sh
|
|
|
|
VERSION=0.10.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 /build/contrib/build/build "$@" |