Chore: Makefile rename docker -> tun2socks

This commit is contained in:
xjasonlyu
2021-02-08 14:35:58 +08:00
parent 849f47baf7
commit 50bed22076
2 changed files with 4 additions and 5 deletions
+2 -2
View File
@@ -5,8 +5,8 @@ COPY . /tun2socks-src
RUN apk add --no-cache make git \
&& go mod download \
&& make docker \
&& mv ./bin/tun2socks-docker /tun2socks
&& make tun2socks \
&& mv ./bin/tun2socks /tun2socks
FROM alpine:latest
LABEL org.opencontainers.image.source="https://github.com/xjasonlyu/tun2socks"
+2 -3
View File
@@ -26,9 +26,8 @@ WINDOWS_ARCH_LIST = \
all: linux-amd64 darwin-amd64 windows-amd64
.PHONY: docker
docker:
$(GO_BUILD) -o $(BINDIR)/$(NAME)-$@
tun2socks:
$(GO_BUILD) -o $(BINDIR)/$(NAME)
darwin-amd64:
GOARCH=amd64 GOOS=darwin $(GO_BUILD) -o $(BINDIR)/$(NAME)-$@