mirror of
https://github.com/lukaszraczylo/gohoarder.git
synced 2026-11-26 06:37:07 +00:00
build: pull pinned base images from mirror.gcr.io
Docker Hub rate-limited the v0.1.328 release build, so goreleaser kept retrying the base image pulls. The Dockerfiles now pull alpine 3.24.4 and nginx 1.31.9-alpine from mirror.gcr.io, pinned by digest. Those digests are what alpine:latest and nginx:alpine resolved to, so the images are unchanged, and a release no longer moves silently with a floating tag.
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
# Combines frontend serving and backend proxy (previously separate gateway)
|
# Combines frontend serving and backend proxy (previously separate gateway)
|
||||||
# EXPECTS: Pre-built frontend files in frontend/dist/ directory
|
# EXPECTS: Pre-built frontend files in frontend/dist/ directory
|
||||||
|
|
||||||
FROM nginx:alpine
|
FROM mirror.gcr.io/library/nginx:1.31.9-alpine@sha256:fb4658584bd9a916ffb6f6e365f97c25cfdb2923801f551ea08356e695f14ff7
|
||||||
|
|
||||||
# Install envsubst for runtime configuration
|
# Install envsubst for runtime configuration
|
||||||
RUN apk add --no-cache gettext
|
RUN apk add --no-cache gettext
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
# This Dockerfile expects a PRE-BUILT binary from GoReleaser (no compilation)
|
# This Dockerfile expects a PRE-BUILT binary from GoReleaser (no compilation)
|
||||||
# GoReleaser injects the platform-specific binary automatically
|
# GoReleaser injects the platform-specific binary automatically
|
||||||
|
|
||||||
FROM --platform=$TARGETPLATFORM alpine:latest
|
FROM --platform=$TARGETPLATFORM mirror.gcr.io/library/alpine:3.24.4@sha256:f59abe656b692d901e184be3445e084786602108599d2a51d229c0f5a48c71bf
|
||||||
|
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
# This Dockerfile expects a PRE-BUILT binary from GoReleaser (no compilation)
|
# This Dockerfile expects a PRE-BUILT binary from GoReleaser (no compilation)
|
||||||
# GoReleaser injects the platform-specific binary automatically
|
# GoReleaser injects the platform-specific binary automatically
|
||||||
|
|
||||||
FROM --platform=$TARGETPLATFORM alpine:latest
|
FROM --platform=$TARGETPLATFORM mirror.gcr.io/library/alpine:3.24.4@sha256:f59abe656b692d901e184be3445e084786602108599d2a51d229c0f5a48c71bf
|
||||||
|
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
# This Dockerfile expects a PRE-BUILT binary from GoReleaser (no compilation)
|
# This Dockerfile expects a PRE-BUILT binary from GoReleaser (no compilation)
|
||||||
# GoReleaser injects the platform-specific binary automatically
|
# GoReleaser injects the platform-specific binary automatically
|
||||||
|
|
||||||
FROM --platform=$TARGETPLATFORM alpine:latest
|
FROM --platform=$TARGETPLATFORM mirror.gcr.io/library/alpine:3.24.4@sha256:f59abe656b692d901e184be3445e084786602108599d2a51d229c0f5a48c71bf
|
||||||
|
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user