github.com_burnett01_rsync-.../Dockerfile
2019-02-09 13:17:45 +00:00

27 lines
665 B
Docker

FROM debian:9.5-slim
# Update
RUN apt-get update
# Install packages
RUN apt-get -yq install rsync openssh-client
# Label
LABEL "com.github.actions.name"="rsync deployments"
LABEL "com.github.actions.description"="For deploying code to a webserver via rsync over ssh"
LABEL "com.github.actions.icon"="truck"
LABEL "com.github.actions.color"="yellow"
LABEL "repository"="http://github.com/contention/action-rsync-deploy"
LABEL "homepage"="https://github.com/contention/action-rsync-deploy"
LABEL "maintainer"="Contention <hello@contention.agency>"
# Copy entrypoint
ADD entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]