create-pull-request/Dockerfile

21 lines
713 B
Docker
Raw Normal View History

2019-10-21 17:57:06 +00:00
FROM alpine:3.10.3
2019-07-16 10:58:27 +00:00
LABEL maintainer="Peter Evans <mail@peterevans.dev>"
LABEL repository="https://github.com/peter-evans/create-pull-request"
LABEL homepage="https://github.com/peter-evans/create-pull-request"
LABEL com.github.actions.name="Create Pull Request"
LABEL com.github.actions.description="Creates a pull request for changes to your repository in the actions workspace"
LABEL com.github.actions.icon="git-pull-request"
LABEL com.github.actions.color="gray-dark"
COPY LICENSE README.md /
RUN apk add python3-dev git git-lfs
2019-07-16 10:58:27 +00:00
COPY requirements.txt /tmp/
RUN pip3 install --requirement /tmp/requirements.txt
2019-07-16 10:58:27 +00:00
COPY create-pull-request.py /create-pull-request.py
ENTRYPOINT [ "/create-pull-request.py" ]