github.com_burnett01_rsync-.../Dockerfile

28 lines
670 B
Docker
Raw Normal View History

2019-11-16 20:00:57 +01:00
FROM ubuntu:latest
2019-02-09 14:17:45 +01:00
# 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"
2019-11-22 00:31:36 +01:00
LABEL "repository"="https://github.com/Burnett01/rsync-deployments"
LABEL "homepage"="https://github.com/Burnett01/rsync-deployments"
LABEL "maintainer"="Contention <hello@contention.agency> & Burnett01"
2019-02-09 14:17:45 +01:00
# Copy entrypoint
ADD entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]