Skip to content

Commit 7beba58

Browse files
authored
Merge pull request #45 from peter-evans/git-lfs
Update Docker Image to include support for git-lfs
2 parents 76116b7 + 0629689 commit 7beba58

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.7.3
1+
FROM alpine:3.10.2
22

33
LABEL maintainer="Peter Evans <[email protected]>"
44
LABEL repository="https://github.com/peter-evans/create-pull-request"
@@ -11,8 +11,10 @@ LABEL com.github.actions.color="gray-dark"
1111

1212
COPY LICENSE README.md /
1313

14+
RUN apk add python3-dev git git-lfs
15+
1416
COPY requirements.txt /tmp/
15-
RUN pip install --requirement /tmp/requirements.txt
17+
RUN pip3 install --requirement /tmp/requirements.txt
1618

1719
COPY create-pull-request.py /create-pull-request.py
18-
ENTRYPOINT [ "/create-pull-request.py" ]
20+
ENTRYPOINT [ "/create-pull-request.py" ]

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
GitPython==3.0.2
2-
PyGithub==1.43.8
2+
PyGithub==1.43.8

0 commit comments

Comments
 (0)