diff --git a/Dockerfile b/Dockerfile index ae1791a..ba09a0a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM --platform=$BUILDPLATFORM golang AS build ARG GIT_DESC=undefined -WORKDIR /go/src/github.com/Snawoot/dumbproxy +WORKDIR /go/src/github.com/SenseUnit/dumbproxy COPY . . ARG TARGETOS TARGETARCH RUN GOOS=$TARGETOS GOARCH=$TARGETARCH CGO_ENABLED=0 go build -a -tags netgo -ldflags '-s -w -extldflags "-static" -X main.version='"$GIT_DESC" @@ -11,7 +11,7 @@ RUN chmod 0644 /certs.crt RUN mkdir /.dumbproxy FROM scratch AS scratch -COPY --from=build /go/src/github.com/Snawoot/dumbproxy/dumbproxy / +COPY --from=build /go/src/github.com/SenseUnit/dumbproxy/dumbproxy / COPY --from=build /certs.crt /etc/ssl/certs/ca-certificates.crt COPY --from=build --chown=9999:9999 /.dumbproxy /.dumbproxy USER 9999:9999 @@ -19,7 +19,7 @@ EXPOSE 8080/tcp ENTRYPOINT ["/dumbproxy", "-bind-address", ":8080"] FROM alpine AS alpine -COPY --from=build /go/src/github.com/Snawoot/dumbproxy/dumbproxy / +COPY --from=build /go/src/github.com/SenseUnit/dumbproxy/dumbproxy / COPY --from=build /certs.crt /etc/ssl/certs/ca-certificates.crt COPY --from=build --chown=9999:9999 /.dumbproxy /.dumbproxy USER 9999:9999 diff --git a/README.md b/README.md index 5f8e744..216393d 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Dumbest HTTP proxy ever. #### Binary download -Pre-built binaries available on [releases](https://github.com/Snawoot/dumbproxy/releases/latest) page. +Pre-built binaries available on [releases](https://github.com/SenseUnit/dumbproxy/releases/latest) page. #### From source @@ -218,5 +218,5 @@ Usage of /home/user/go/bin/dumbproxy: ## See Also -* [Project Wiki](https://github.com/Snawoot/dumbproxy/wiki) +* [Project Wiki](https://github.com/SenseUnit/dumbproxy/wiki) * [Community in Telegram](https://t.me/alternative_proxy) diff --git a/go.mod b/go.mod index f66b39d..c9ee746 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/Snawoot/dumbproxy +module github.com/SenseUnit/dumbproxy go 1.13 diff --git a/snapcraft.yaml b/snapcraft.yaml index 151a94e..c1bad03 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -3,7 +3,7 @@ version: '1.11.2' summary: Dumbiest HTTP proxy ever. description: > Dumbiest HTTP proxy ever. See documentation for details: - https://github.com/Snawoot/dumbproxy/blob/master/README.md + https://github.com/SenseUnit/dumbproxy/blob/master/README.md confinement: strict base: core18 @@ -11,7 +11,7 @@ base: core18 parts: dumbproxy: plugin: go - go-importpath: github.com/Snawoot/dumbproxy + go-importpath: github.com/SenseUnit/dumbproxy source: . build-packages: - gcc