Skip to content

Commit

Permalink
1356
Browse files Browse the repository at this point in the history
  • Loading branch information
yanhao98 committed Feb 20, 2024
1 parent 7d27ab2 commit 909b3c8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 56 deletions.
21 changes: 0 additions & 21 deletions .gitea/workflows/00-sync2gh.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .gitea/workflows/docker-image.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ updates:
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "daily"
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM nginx:1-bookworm
FROM nginx:1.25.4-bookworm
FROM fatedier/frps:v0.54.0 as frps
ARG DEBIAN_FRONTEND='noninteractive'

ARG S6_OVERLAY_VERSION=3.1.6.2
Expand All @@ -9,7 +10,8 @@ RUN set -x && \
curl --fail ${S6_OVERLAY_BASE_URL}/v${S6_OVERLAY_VERSION}/s6-overlay-`uname -m| sed 's/armv7l/armhf/g'`.tar.xz -SLo- | tar -C / -Jxpf - && \
apt-get purge -y --auto-remove xz-utils

COPY --from=fatedier/frps:v0.54.0 /usr/bin/frps /usr/bin/frps
# COPY --from=fatedier/frps:v0.54.0 /usr/bin/frps /usr/bin/frps
COPY --from=frps /usr/bin/frps /usr/bin/frps
COPY rootfs/ /
COPY rootfs-s6-rc/ /

Expand All @@ -23,4 +25,4 @@ RUN set -x && \

STOPSIGNAL SIGTERM
ENTRYPOINT ["/init"]
EXPOSE 80 7000
EXPOSE 80 7000

0 comments on commit 909b3c8

Please sign in to comment.