burnett01-rsync-deployments/Dockerfile

16 lines
413 B
Docker
Raw Normal View History

2020-01-02 20:03:53 +08:00
FROM alpine:3.11
MAINTAINER Dr Internet <internet@limelightgaming.net>
2020-01-02 20:43:08 +08:00
# Install RSync and Open SSH.
2020-01-02 20:58:28 +08:00
RUN apk update && apk add --no-cache rsync openssh-client #ca-certificates
2020-01-02 20:43:08 +08:00
# RUN update-ca-certificates
2020-01-02 20:03:53 +08:00
RUN rm -rf /var/cache/apk/*
2020-01-02 20:43:08 +08:00
# Prepare for SSH keys.
2020-01-02 20:23:40 +08:00
RUN mkdir ~/.ssh
2020-01-02 20:43:08 +08:00
# Copy in our executables.
2020-01-02 21:56:37 +08:00
COPY start-agent.sh /bin/start-agent
2020-01-02 21:04:19 +08:00
COPY add-key.sh /bin/add-key
2020-01-02 21:56:37 +08:00
RUN chmod +x /bin/add-key /bin/start-agent