2020-10-16 22:26:07 +08:00
|
|
|
FROM alpine:latest
|
|
|
|
|
|
|
|
RUN apk add git
|
|
|
|
|
2020-10-16 22:33:01 +08:00
|
|
|
#RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
|
|
|
|
|
|
|
|
RUN apk add python3
|
2020-10-16 22:26:07 +08:00
|
|
|
|
2020-10-16 22:34:44 +08:00
|
|
|
RUN apk add py3-pip
|
|
|
|
|
2020-10-16 22:26:07 +08:00
|
|
|
RUN pip3 install PyGithub
|
|
|
|
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
|
|
|
|
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|