forked from corcc/publish
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
24 lines (19 loc) · 891 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM alpine:3.9
LABEL "com.github.actions.name"="Push new files back to supplied branch name."
LABEL "com.github.actions.description"="A GitHub Action to push any new files back to supplied branch name"
LABEL "com.github.actions.icon"="arrow-up"
LABEL "com.github.actions.color"="blue"
LABEL "repository"="https://github.com/mikeal/publish-to-github-action"
LABEL "homepage"="https://github.com/mikeal/publish-to-github-action"
LABEL "maintainer"="peaceiris"
RUN apk --no-cache add openssl git curl openssh-client bash tzdata
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT [ "/entrypoint.sh" ]
RUN echo CWD `pwd` \
&& mkdir /tmp/lfs \
&& cd /tmp/lfs \
&& curl -sLO https://github.com/git-lfs/git-lfs/releases/download/v2.6.0/git-lfs-linux-amd64-v2.6.0.tar.gz \
&& tar -zxf git-lfs-linux-amd64-v2.6.0.tar.gz \
&& ./install.sh \
&& cd / \
&& rm -rf /tmp/lfs