-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (21 loc) · 862 Bytes
/
Dockerfile
File metadata and controls
29 lines (21 loc) · 862 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# create by xiexianbin, Github Action for git push
FROM alpine:latest
# Dockerfile build cache
ENV REFRESHED_AT 2020-01-24
LABEL "com.github.actions.name"="Github Action for git push"
LABEL "com.github.actions.description"="Github Action for git push."
LABEL "com.github.actions.icon"="home"
LABEL "com.github.actions.color"="green"
LABEL "repository"="http://github.com/xiexianbin/hugo-actions"
LABEL "homepage"="http://github.com/xiexianbin/hugo-actions"
LABEL "maintainer"="xiexianbin<me@xiexianbin.cn>"
LABEL "Name"="Github Action for git push"
LABEL "Version"="1.0.0"
ENV LC_ALL C.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
RUN apk update && apk add --no-cache git git-lfs bash wget curl openssh-client tree && rm -rf /var/cache/apk/*
ADD entrypoint.sh /
RUN chmod +x /entrypoint.sh
WORKDIR /github/workspace
ENTRYPOINT ["/entrypoint.sh"]