Skip to content

Commit

Permalink
1937
Browse files Browse the repository at this point in the history
  • Loading branch information
nobug committed Dec 23, 2023
1 parent b0e0d2a commit cfafccc
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ FROM nginx:1
COPY --from=fatedier/frps:v0.53.2 /usr/bin/frps /usr/bin/frps
COPY rootfs/ /

RUN set -xe \
&& mv /docker-entrypoint.sh /docker-entrypoint-nginx.sh \
&& apt-get update \
&& apt-get install --no-install-recommends --no-install-suggests -y unzip zip wget \
&& bash /dl-frpc.sh && rm /dl-frpc.sh \
&& apt-get remove --purge --auto-remove -y unzip zip wget && rm -rf /var/lib/apt/lists/* && apt-get purge -y --auto-remove
RUN set -x && \
mv /docker-entrypoint.sh /docker-entrypoint-nginx.sh && \
apt-get update && \
apt-get install --no-install-recommends --no-install-suggests -y unzip zip wget && \
bash /dl-frpc.sh && rm /dl-frpc.sh && \
apt-get remove --purge --auto-remove -y unzip zip wget && \
rm -rf /var/lib/apt/lists/*

# STOPSIGNAL SIGINT
ENTRYPOINT ["/entry.sh"]
Expand Down

0 comments on commit cfafccc

Please sign in to comment.