mirror of
https://github.com/xvzc/SpoofDPI.git
synced 2025-01-03 04:50:11 +00:00
fix: Fix the problem not being able to run the binaries
This commit is contained in:
parent
0d51b7dcd6
commit
ea90ea8eb1
@ -1,3 +1,3 @@
|
|||||||
FROM golang:1.16-alpine
|
FROM golang:1.17-alpine
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
4
build
4
build
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
docker build ./ --file ./Dockerfile.build --tag spoof-dpi:latest && \
|
docker build ./ --file ./Dockerfile.build --tag spoof-dpi:latest && \
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
-v $(pwd)/:/app spoof-dpi:latest \
|
-v $(pwd):/app spoof-dpi:latest \
|
||||||
sh make-releases.sh
|
sh make-releases.sh
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
GOOS=darwin GOARCH=amd64 go build -o . github.com/xvzc/SpoofDPI/cmd/spoof-dpi && tar -zcvf spoof-dpi-osx.tar.gz ./spoof-dpi && rm -rf ./spoof-dpi
|
GOOS=darwin GOARCH=amd64 go build -ldflags='-w -s' github.com/xvzc/SpoofDPI/cmd/spoof-dpi && tar -zcvf spoof-dpi-osx.tar.gz ./spoof-dpi && rm -rf ./spoof-dpi
|
||||||
|
|
||||||
GOOS=linux GOARCH=amd64 go build -o . github.com/xvzc/SpoofDPI/cmd/spoof-dpi && tar -zcvf spoof-dpi-linux.tar.gz ./spoof-dpi && rm -rf ./spoof-dpi
|
GOOS=linux GOARCH=amd64 go build -ldflags='-w -s' github.com/xvzc/SpoofDPI/cmd/spoof-dpi && tar -zcvf spoof-dpi-linux.tar.gz ./spoof-dpi && rm -rf ./spoof-dpi
|
||||||
|
Loading…
Reference in New Issue
Block a user