move repo

This commit is contained in:
Vladislav Yarmak 2024-01-28 22:56:59 +02:00
parent 10a8fda87a
commit 85e5310cdd
4 changed files with 8 additions and 8 deletions

View File

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

View File

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

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/Snawoot/dumbproxy
module github.com/SenseUnit/dumbproxy
go 1.13

View File

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