2023-12-12 13:10:12 +08:00
|
|
|
# FROM varunsridharan/actions-alpine:latest
|
2023-12-12 13:36:25 +08:00
|
|
|
FROM registry.api.net.tw/proxy_cache/library/alpine:3.18
|
2023-12-13 15:14:45 +08:00
|
|
|
|
2023-12-12 17:18:16 +08:00
|
|
|
ADD https://raw.githubusercontent.com/varunsridharan/actions-toolkit/master/setup-alpine.sh /
|
2023-12-12 15:52:53 +08:00
|
|
|
|
2023-12-12 13:30:20 +08:00
|
|
|
RUN chmod uga+x /setup-alpine.sh
|
2023-12-12 15:52:53 +08:00
|
|
|
|
2023-12-12 13:30:20 +08:00
|
|
|
RUN sh /setup-alpine.sh
|
2020-10-16 22:33:01 +08:00
|
|
|
|
2023-12-12 13:24:28 +08:00
|
|
|
RUN apk add python3
|
2020-10-16 22:26:07 +08:00
|
|
|
|
2023-12-12 13:24:28 +08:00
|
|
|
RUN apk add py3-pip
|
2020-10-16 22:34:44 +08:00
|
|
|
|
2021-04-30 09:03:27 +08:00
|
|
|
RUN pip3 install "PyGithub==1.54.1"
|
2020-10-16 22:26:07 +08:00
|
|
|
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
|
|
|
|
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|