mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2026-09-27 19:31:58 +00:00
Update Dockerfile
This commit is contained in:
+8
-3
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user