mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2024-11-24 00:13:46 +01:00
Update Dockerfile
This commit is contained in:
parent
4b1ab34958
commit
8d2928e3f8
1 changed files with 8 additions and 3 deletions
11
Dockerfile
11
Dockerfile
|
@ -1,8 +1,13 @@
|
||||||
FROM alpine:3.11
|
FROM alpine:3.11
|
||||||
MAINTAINER Dr Internet <internet@limelightgaming.net>
|
MAINTAINER Dr Internet <internet@limelightgaming.net>
|
||||||
|
|
||||||
RUN apk update
|
# Install RSync and Open SSH.
|
||||||
RUN apk add --no-cache rsync openssh-client ca-certificates
|
RUN apk update && add --no-cache rsync openssh-client #ca-certificates
|
||||||
RUN update-ca-certificates
|
# RUN update-ca-certificates
|
||||||
RUN rm -rf /var/cache/apk/*
|
RUN rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
|
# Prepare for SSH keys.
|
||||||
RUN mkdir ~/.ssh
|
RUN mkdir ~/.ssh
|
||||||
|
|
||||||
|
# Copy in our executables.
|
||||||
|
COPY add-key.sh /bin/add-key.sh
|
||||||
|
|
Loading…
Reference in a new issue