Files

26 lines
576 B
Docker
Raw Permalink Normal View History

2024-11-28 09:37:31 +03:00
FROM getflow/cloudflared-ssh:python
2021-07-23 23:53:16 +02:00
2021-09-25 11:54:56 +02:00
WORKDIR /src
2021-07-23 23:53:16 +02:00
RUN set -eux; \
apt-get update; \
2021-10-08 13:08:20 +02:00
apt-get install -y git build-essential libffi-dev; \
2021-09-25 09:50:58 +02:00
rm -rf /var/lib/apt/lists/*
2021-07-23 23:53:16 +02:00
2023-01-31 18:42:23 +01:00
# https://github.com/actions/runner-images/issues/6775
RUN git config --system --add safe.directory *
2021-09-25 11:54:56 +02:00
COPY src/requirements.txt ./
RUN pip install -r requirements.txt
COPY src/entrypoint /usr/local/bin/
2024-11-28 22:21:51 +03:00
COPY src/docker-entrypoint.sh /
2021-09-25 11:54:56 +02:00
COPY src/add-to-wiki /usr/local/bin/
COPY src/default.md.j2 /var/
2024-11-28 22:26:52 +03:00
RUN chmod +x /docker-entrypoint.sh
2021-09-25 11:54:56 +02:00
WORKDIR /workdir
2021-07-23 23:53:16 +02:00
2024-11-28 22:21:51 +03:00
ENTRYPOINT [ "/docker-entrypoint.sh" ]