update build process

This commit is contained in:
xvzc 2022-03-11 13:13:49 +09:00
parent fa8093a5f9
commit 439e79ad73
3 changed files with 9 additions and 0 deletions

3
Dockerfile.build Normal file
View File

@ -0,0 +1,3 @@
FROM golang:1.16-alpine
WORKDIR /app

6
build Executable file
View File

@ -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

0
release → make-releases.sh Executable file → Normal file
View File