2019-02-09 21:17:45 +08:00
|
|
|
FROM debian:9.5-slim
|
|
|
|
|
|
|
|
# Update
|
|
|
|
RUN apt-get update
|
|
|
|
|
|
|
|
# Install packages
|
|
|
|
RUN apt-get -yq install rsync openssh-client
|
|
|
|
|
|
|
|
# Label
|
2019-09-26 05:24:25 +08:00
|
|
|
LABEL "com.github.actions.name"="ssh deployments"
|
|
|
|
LABEL "com.github.actions.description"="For deploying code over ssh"
|
2019-02-09 21:17:45 +08:00
|
|
|
LABEL "com.github.actions.icon"="truck"
|
|
|
|
LABEL "com.github.actions.color"="yellow"
|
|
|
|
|
2019-09-26 05:24:25 +08:00
|
|
|
LABEL "repository"="http://github.com/easingthemes/ssh-deployments"
|
|
|
|
LABEL "homepage"="https://github.com/easingthemes/ssh-deployment"
|
|
|
|
LABEL "maintainer"="Dragan Filipovic <info@frontenddot.com>"
|
2019-02-09 21:17:45 +08:00
|
|
|
|
|
|
|
# Copy entrypoint
|
|
|
|
ADD entrypoint.sh /entrypoint.sh
|
|
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|