mirror of
https://github.com/photoprism/photoprism.git
synced 2026-07-17 16:49:04 +00:00
Docker: Remove unused goproxy module-proxy image and build target
The goproxy caching module proxy was a temporary workaround for build rate limits that no longer apply, and nothing references the published image (no compose service, CI step, or GOPROXY target).
This commit is contained in:
parent
1ca21007b3
commit
88321bcda9
3 changed files with 0 additions and 34 deletions
3
Makefile
3
Makefile
|
|
@ -1074,9 +1074,6 @@ docker-local-develop-resolute:
|
|||
docker-ddns:
|
||||
docker pull golang:alpine
|
||||
scripts/docker/buildx-multi.sh ddns linux/amd64,linux/arm64 $(BUILD_DATE)
|
||||
docker-goproxy:
|
||||
docker pull golang:alpine
|
||||
scripts/docker/buildx-multi.sh goproxy linux/amd64,linux/arm64 $(BUILD_DATE)
|
||||
demo: docker-demo
|
||||
docker-demo: docker-demo-latest
|
||||
docker-demo-all: docker-demo-latest docker-demo-debian
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@ A virtual machine with a dedicated operating system environment provides even mo
|
|||
| `demo/` | Build context for the public [demo site](https://demo.photoprism.app/), including Traefik and job configuration. |
|
||||
| `ddns/` | Minimal image for the Dynamic DNS updater used by our hosted services. |
|
||||
| `dummy/` | Test doubles for OIDC and WebDAV used by acceptance tests and local development. |
|
||||
| `goproxy/` | Caching Go module proxy used to speed up CI and local builds. |
|
||||
|
||||
### Which Image Should I Use?
|
||||
|
||||
|
|
|
|||
|
|
@ -1,30 +0,0 @@
|
|||
##################################################### BUILD STAGE ######################################################
|
||||
FROM golang:alpine AS build
|
||||
|
||||
ENV DO_NOT_TRACK=true
|
||||
|
||||
RUN apk add --no-cache -U make git mercurial subversion
|
||||
|
||||
RUN git clone https://github.com/goproxyio/goproxy.git /src/goproxy && \
|
||||
cd /src/goproxy && \
|
||||
export CGO_ENABLED=0 && \
|
||||
make
|
||||
|
||||
################################################## PRODUCTION STAGE ####################################################
|
||||
FROM golang:alpine
|
||||
|
||||
ENV DO_NOT_TRACK=true \
|
||||
TINI_VERSION=v0.19.0
|
||||
|
||||
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-static-amd64 /usr/bin/tini
|
||||
RUN chmod +x /usr/bin/tini
|
||||
|
||||
RUN apk add --no-cache -U git mercurial subversion
|
||||
|
||||
COPY --from=build /src/goproxy/bin/goproxy /goproxy
|
||||
VOLUME "/go"
|
||||
|
||||
EXPOSE 8888
|
||||
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
CMD ["/goproxy", "-listen", "0.0.0.0:8888"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue