Skip to content
This repository was archived by the owner on Mar 16, 2024. It is now read-only.

Commit 2fd5f49

Browse files
authored
Replacing docker images with ghcr images (#1022) (#1390)
* Replacing docker images with ghcr images present in the images-mirror repo. Signed-off-by: Yashgiri Goswami <[email protected]>
1 parent e20956c commit 2fd5f49

File tree

40 files changed

+61
-61
lines changed

40 files changed

+61
-61
lines changed

Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
# syntax=docker/dockerfile:1.3-labs
22

3-
FROM tonistiigi/binfmt:qemu-v6.2.0 AS binfmt
4-
FROM moby/buildkit:v0.10.6 AS buildkit
5-
FROM public.ecr.aws/docker/library/registry:2.8.1 AS registry
6-
FROM rancher/klipper-lb:v0.3.5 AS klipper-lb
3+
FROM ghcr.io/acorn-io/images-mirror/tonistiigi/binfmt:qemu-v6.2.0 AS binfmt
4+
FROM ghcr.io/acorn-io/images-mirror/moby/buildkit:v0.10.6 AS buildkit
5+
FROM ghcr.io/acorn-io/images-mirror/registry:2.8.1 AS registry
6+
FROM ghcr.io/acorn-io/images-mirror/rancher/klipper-lb:v0.3.5 AS klipper-lb
77

8-
FROM public.ecr.aws/docker/library/golang:1.20-alpine AS helper
8+
FROM ghcr.io/acorn-io/images-mirror/golang:1.20-alpine AS helper
99
WORKDIR /usr/src
1010
RUN apk -U add curl
1111
RUN curl -sfL https://github.com/loft-sh/devspace/archive/refs/tags/v5.18.5.tar.gz | tar xzf - --strip-components=1
1212
RUN --mount=type=cache,target=/go/pkg --mount=type=cache,target=/root/.cache/go-build CGO_ENABLED=0 go build -o /usr/local/bin/acorn-helper -ldflags "-s -w" ./helper
1313

14-
FROM public.ecr.aws/docker/library/golang:1.20 AS build
14+
FROM ghcr.io/acorn-io/images-mirror/golang:1.20 AS build
1515
COPY / /src
1616
WORKDIR /src
1717
RUN --mount=type=cache,target=/go/pkg --mount=type=cache,target=/root/.cache/go-build make build
1818

19-
FROM public.ecr.aws/docker/library/nginx:1.23.2-alpine AS base
19+
FROM ghcr.io/acorn-io/images-mirror/nginx:1.23.2-alpine AS base
2020
RUN apk add --no-cache ca-certificates iptables ip6tables fuse3 git openssh pigz xz \
2121
&& ln -s fusermount3 /usr/bin/fusermount
2222
RUN adduser -D acorn

docs/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM node:19-buster as src
1+
FROM ghcr.io/acorn-io/images-mirror/node:19-buster as src
22
COPY / /usr/src
33
WORKDIR /usr/src
44
RUN yarn install
55

66
FROM src as bin
77
RUN yarn build
88

9-
FROM nginx as static
9+
FROM ghcr.io/acorn-io/images-mirror/nginx:latest as static
1010
COPY --from=bin /usr/src/build /usr/share/nginx/html
1111

1212
FROM src as dynamic

integration/build/testdata/build-default/Acornfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ args: {
55
profiles: build: include: bool | *true
66

77
if args.include {
8-
containers: default: image: "public.ecr.aws/docker/library/busybox:latest"
8+
containers: default: image: "ghcr.io/acorn-io/images-mirror/busybox:latest"
99
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM public.ecr.aws/docker/library/busybox:latest AS not-default
1+
FROM ghcr.io/acorn-io/images-mirror/busybox:latest AS not-default
22

3-
FROM public.ecr.aws/docker/library/busybox:latest
3+
FROM ghcr.io/acorn-io/images-mirror/busybox:latest
44
COPY this-will-fail /
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
containers: {
22
if args.dev {
3-
default: image: "public.ecr.aws/docker/library/busybox:latest"
3+
default: image: "ghcr.io/acorn-io/images-mirror/busybox:latest"
44
}
55
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM public.ecr.aws/docker/library/busybox:latest
1+
FROM ghcr.io/acorn-io/images-mirror/busybox:latest
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
FROM public.ecr.aws/docker/library/busybox:latest
1+
FROM ghcr.io/acorn-io/images-mirror/busybox:latest
22
CMD ["sidecar"]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM public.ecr.aws/docker/library/busybox:latest
1+
FROM ghcr.io/acorn-io/images-mirror/busybox:latest
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
FROM public.ecr.aws/docker/library/busybox:latest
1+
FROM ghcr.io/acorn-io/images-mirror/busybox:latest
22
CMD ["sidecar"]

integration/build/testdata/similar/one/Acornfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// This file must match its sibling except for the value of index.txt
22
containers: {
33
web: {
4-
image: "public.ecr.aws/docker/library/busybox:latest"
4+
image: "ghcr.io/acorn-io/images-mirror/busybox:latest"
55
files: {
66
"/foo/index.txt": "1"
77
}

0 commit comments

Comments
 (0)