diff --git a/Dockerfile.build b/Dockerfile.build new file mode 100644 index 0000000..c33f8ee --- /dev/null +++ b/Dockerfile.build @@ -0,0 +1,3 @@ +FROM golang:1.16-alpine + +WORKDIR /app diff --git a/build b/build new file mode 100755 index 0000000..652d36d --- /dev/null +++ b/build @@ -0,0 +1,6 @@ +#!/bin/bash + +docker build ./ --file ./Dockerfile.build --tag spoof-dpi:latest && \ + docker run --rm \ + -v $(pwd)/:/app spoof-dpi:latest \ + sh make-releases.sh diff --git a/release b/make-releases.sh old mode 100755 new mode 100644 similarity index 100% rename from release rename to make-releases.sh