From 320e683a1bed99813d64d2207cf02f626b437546 Mon Sep 17 00:00:00 2001 From: Tracewebstudio Dev Date: Thu, 16 Apr 2026 19:30:39 +0200 Subject: [PATCH] fix(ci): use internal registry for alpine and rust base images - Change FROM rust:1.87-alpine to FROM registry.nxtgauge.com/rust:1.87-alpine - Change FROM alpine:3.20 to FROM registry.nxtgauge.com/alpine:3.20 - Fixes Docker Hub rate limiting errors in Woodpecker builds Images to mirror: - docker pull rust:1.87-alpine - docker tag rust:1.87-alpine registry.nxtgauge.com/rust:1.87-alpine - docker push registry.nxtgauge.com/rust:1.87-alpine - docker pull alpine:3.20 - docker tag alpine:3.20 registry.nxtgauge.com/alpine:3.20 - docker push registry.nxtgauge.com/alpine:3.20 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 12b5a3d..936ae72 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.87-alpine AS builder +FROM registry.nxtgauge.com/rust:1.87-alpine AS builder RUN apk add --no-cache musl-dev pkgconfig openssl-dev WORKDIR /app COPY Cargo.toml Cargo.lock* ./ @@ -7,7 +7,7 @@ COPY migrations ./migrations COPY seeds ./seeds RUN cargo build --release -FROM alpine:3.20 +FROM registry.nxtgauge.com/alpine:3.20 RUN apk add --no-cache ca-certificates WORKDIR /app COPY --from=builder /app/target/release/nxtgauge-ai-assistant /usr/local/bin/nxtgauge-ai-assistant