Browse Source

fix: update Dockerfile base images to use new registry

Signed-off-by: jagger <cossjie@foxmail.com>
pull/538/head
jagger 2 months ago
parent
commit
d0a4d115a1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Dockerfile

+ 2
- 2
Dockerfile View File

@@ -1,4 +1,4 @@
FROM dockerpull.cn/golang:alpine AS builder
FROM docker-0.unsee.tech/golang:alpine AS builder

WORKDIR /app

@@ -21,7 +21,7 @@ RUN --mount=type=cache,target=/go/pkg/mod \
--mount=type=cache,target=/root/.cache/go-build \
GOOS=$TARGETOS GOARCH=$TARGETARCH go build -ldflags="-w -s" -o pcm-core-api

FROM --platform=$TARGETPLATFORM dockerpull.cn/alpine:latest
FROM --platform=$TARGETPLATFORM docker-0.unsee.tech/alpine:latest
WORKDIR /app

RUN apk add --no-cache ca-certificates && update-ca-certificates && \


Loading…
Cancel
Save