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