21 lines
		
	
	
		
			713 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			713 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM alpine:3.10.2
 | 
						|
 | 
						|
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
 | 
						|
 | 
						|
COPY requirements.txt /tmp/
 | 
						|
RUN pip3 install --requirement /tmp/requirements.txt
 | 
						|
 | 
						|
COPY create-pull-request.py /create-pull-request.py
 | 
						|
ENTRYPOINT [ "/create-pull-request.py" ]
 |