aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.travis/docker/server/Dockerfile
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-03-12 23:51:53 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-03-12 23:57:40 +0300
commit51bee470d57e93faa28514cebbac59379a235693 (patch)
tree94645a8c7385af9dce384bb33796e8aa8aa945a0 /.travis/docker/server/Dockerfile
parentrename systemd units (diff)
downloadcgitize-51bee470d57e93faa28514cebbac59379a235693.tar.gz
cgitize-51bee470d57e93faa28514cebbac59379a235693.zip
Travis: ed25519 keys, which are shorter
Diffstat (limited to '')
-rw-r--r--.travis/docker/server/Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis/docker/server/Dockerfile b/.travis/docker/server/Dockerfile
index 035d871..66d2957 100644
--- a/.travis/docker/server/Dockerfile
+++ b/.travis/docker/server/Dockerfile
@@ -8,11 +8,11 @@ RUN apk --no-cache add bash git openssh-server && \
WORKDIR /root
-COPY ["ssh/server_key", "/etc/ssh/ssh_host_rsa_key"]
-COPY ["ssh/server_key.pub", "/etc/ssh/ssh_host_rsa_key.pub"]
+COPY ["ssh/server_key", "/etc/ssh/ssh_host_ed25519_key"]
+COPY ["ssh/server_key.pub", "/etc/ssh/ssh_host_ed25519_key.pub"]
COPY ["ssh/client_key.pub", "./.ssh/authorized_keys"]
-RUN chmod 0600 -- /etc/ssh/ssh_host_rsa_key && \
+RUN chmod 0600 -- /etc/ssh/ssh_host_ed25519_key && \
chmod 0700 -- ./.ssh/ && \
chmod 0600 -- ./.ssh/authorized_keys