Skip to content

Commit

Permalink
build(naive): use non-rate limit registry to avoid rate limit
Browse files Browse the repository at this point in the history
  • Loading branch information
zydou committed Mar 7, 2025
1 parent 4aad68d commit de27897
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions naiveproxy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3 AS builder
FROM public.ecr.aws/docker/library/alpine:3 AS builder
ARG VERSION=v106.0.5249.91-2
ARG ARCH=x86_64
RUN set -ex ; \
Expand All @@ -7,7 +7,7 @@ RUN set -ex ; \
mv /tmp/naive /usr/bin/naive ; \
rm -rf /tmp/*

FROM alpine:3
FROM public.ecr.aws/docker/library/alpine:3
RUN apk add --no-cache libgcc
COPY --from=builder /usr/bin/naive /usr/bin
CMD ["/usr/bin/naive"]
4 changes: 2 additions & 2 deletions naiveproxy/multi.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG VERSION=latest
ARG ARCH=x86_64
FROM zydou/naiveproxy:${VERSION}-${ARCH} as upstream
COPY --from=shinsenter/s6-overlay:latest / /
FROM ghcr.io/zydou/naiveproxy:${VERSION}-${ARCH} as upstream
COPY --from=ghcr.io/shinsenter/s6-overlay:latest / /
RUN apk add --no-cache bash shadow && \
groupadd --gid 1000 abc && \
useradd -u 1000 -g 1000 --create-home -d /app -s /bin/false abc
Expand Down

0 comments on commit de27897

Please sign in to comment.