A continuation of HomeBox the inventory and organization system built for the Home User
chore: switch to google docker mirror for now
Matthew Kilgorebae3fb4e9b84
diff --git a/Dockerfile b/Dockerfileindex 2db5ef3f..a8737db0 100644--- a/Dockerfile+++ b/Dockerfile@@ -1,5 +1,5 @@# Node dependencies stage-FROM public.ecr.aws/docker/library/node:22-alpine AS frontend-dependencies+FROM mirror.gcr.io/library/node:22-alpine AS frontend-dependenciesWORKDIR /app# Install pnpm 10 (latest stable, works reliably in Alpine)@@ -10,7 +10,7 @@ COPY frontend/package.json frontend/pnpm-lock.yaml ./RUN pnpm install --frozen-lockfile# Build Nuxt (frontend) stage-FROM public.ecr.aws/docker/library/node:22-alpine AS frontend-builder+FROM mirror.gcr.io/library/node:22-alpine AS frontend-builderWORKDIR /app# Install pnpm 10 (latest stable)@@ -22,7 +22,7 @@ COPY --from=frontend-dependencies /app/node_modules ./node_modulesRUN pnpm build# Go dependencies stage-FROM public.ecr.aws/docker/library/golang:alpine AS builder-dependencies+FROM mirror.gcr.io/library/golang:alpine AS builder-dependenciesWORKDIR /go/src/app# Copy go.mod and go.sum for better caching@@ -30,7 +30,7 @@ COPY ./backend/go.mod ./backend/go.sum ./RUN go mod download# Build API stage-FROM public.ecr.aws/docker/library/golang:alpine AS builder+FROM mirror.gcr.io/library/golang:alpine AS builderARG TARGETOSARG TARGETARCHARG BUILD_TIME@@ -66,7 +66,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \fi# Production stage-FROM public.ecr.aws/docker/library/alpine:latest+FROM mirror.gcr.io/library/alpine:latestENV HBOX_MODE=productionENV HBOX_STORAGE_CONN_STRING=file:///?no_tmp_dir=trueENV HBOX_STORAGE_PREFIX_PATH=datadiff --git a/Dockerfile.hardened b/Dockerfile.hardenedindex 3cf9cd7b..9a797dc3 100644--- a/Dockerfile.hardened+++ b/Dockerfile.hardened@@ -1,7 +1,7 @@# ---------------------------------------# Node dependencies stage# ----------------------------------------FROM public.ecr.aws/docker/library/node:22-alpine AS frontend-dependencies+FROM mirror.gcr.io/library/node:22-alpine AS frontend-dependenciesWORKDIR /app# Install pnpm 10 (latest stable, works reliably in Alpine)@@ -14,7 +14,7 @@ RUN pnpm install --frozen-lockfile# ---------------------------------------# Build Nuxt (frontend) stage# ----------------------------------------FROM public.ecr.aws/docker/library/node:22-alpine AS frontend-builder+FROM mirror.gcr.io/library/node:22-alpine AS frontend-builderWORKDIR /app# Install pnpm globally again with a stable version (it can reuse the cache if not changed)@@ -28,7 +28,7 @@ RUN pnpm build# ---------------------------------------# Go dependencies stage# ----------------------------------------FROM public.ecr.aws/docker/library/golang:alpine AS builder-dependencies+FROM mirror.gcr.io/library/golang:alpine AS builder-dependenciesWORKDIR /go/src/app# Copy go.mod and go.sum for better caching@@ -38,7 +38,7 @@ RUN go mod download# ---------------------------------------# Build API + healthcheck stage# ----------------------------------------FROM public.ecr.aws/docker/library/golang:alpine AS builder+FROM mirror.gcr.io/library/golang:alpine AS builderARG TARGETOSARG TARGETARCHARG BUILD_TIMEdiff --git a/Dockerfile.rootless b/Dockerfile.rootlessindex 3f6c0661..3f471054 100644--- a/Dockerfile.rootless+++ b/Dockerfile.rootless@@ -1,5 +1,5 @@# Node dependencies stage-FROM public.ecr.aws/docker/library/node:22-alpine AS frontend-dependencies+FROM mirror.gcr.io/library/node:22-alpine AS frontend-dependenciesWORKDIR /app# Install pnpm globally with a stable version (caching layer)@@ -10,7 +10,7 @@ COPY frontend/package.json frontend/pnpm-lock.yaml ./RUN pnpm install --frozen-lockfile# Build Nuxt (frontend) stage-FROM public.ecr.aws/docker/library/node:22-alpine AS frontend-builder+FROM mirror.gcr.io/library/node:22-alpine AS frontend-builderWORKDIR /app# Install pnpm globally again with a stable version (it can reuse the cache if not changed)@@ -22,7 +22,7 @@ COPY --from=frontend-dependencies /app/node_modules ./node_modulesRUN pnpm build# Go dependencies stage-FROM public.ecr.aws/docker/library/golang:alpine AS builder-dependencies+FROM mirror.gcr.io/library/golang:alpine AS builder-dependenciesWORKDIR /go/src/app# Copy go.mod and go.sum for better caching@@ -30,7 +30,7 @@ COPY ./backend/go.mod ./backend/go.sum ./RUN go mod download# Build API stage-FROM public.ecr.aws/docker/library/golang:alpine AS builder+FROM mirror.gcr.io/library/golang:alpine AS builderARG TARGETOSARG TARGETARCHARG BUILD_TIME@@ -68,7 +68,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \RUN mkdir /data# Production stage-FROM public.ecr.aws/docker/library/alpine:latest+FROM mirror.gcr.io/library/alpine:latestENV HBOX_MODE=productionENV HBOX_STORAGE_CONN_STRING=file:///?no_tmp_dir=trueENV HBOX_STORAGE_PREFIX_PATH=data