aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/integration/docker/git_server/Dockerfile
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-10-13 00:32:55 +0500
committerEgor Tensin <egor@tensin.name>2026-10-13 00:32:59 +0500
commite231346fdd87520b0cd154aaab8a366f49a9a953 (patch)
treeb541835914663ddc14a7ffcbd2a285046c362a4a /test/integration/docker/git_server/Dockerfile
parentworkflows/ci: prettify YAML (diff)
downloadcgitize-e231346fdd87520b0cd154aaab8a366f49a9a953.tar.gz
cgitize-e231346fdd87520b0cd154aaab8a366f49a9a953.zip
reshuffle Docker-related files
* The root docker-compose.yml was not used anywhere but the tests, so its contents was moved there. * Some more refactoring and shortening of paths in t/i/docker. * Removed .dockerignore files - I don't think they're needed, since I always use explicit COPY instructions with paths, etc., but I may as well be quite wrong on this one. * Removed examples/docker/ - don't think this one was used at all?
Diffstat (limited to '')
-rw-r--r--test/integration/docker/git_server/Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/integration/docker/git_server/Dockerfile b/test/integration/docker/git_server/Dockerfile
index 8e4b841..97306f9 100644
--- a/test/integration/docker/git_server/Dockerfile
+++ b/test/integration/docker/git_server/Dockerfile
@@ -9,9 +9,9 @@ RUN apk add -q --no-cache bash git openssh-server tini && \
WORKDIR /root
-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"]
+COPY ["ssh_keys/server_key", "/etc/ssh/ssh_host_ed25519_key"]
+COPY ["ssh_keys/server_key.pub", "/etc/ssh/ssh_host_ed25519_key.pub"]
+COPY ["ssh_keys/client_key.pub", "./.ssh/authorized_keys"]
RUN chmod 0600 -- /etc/ssh/ssh_host_ed25519_key && \
chmod 0700 -- ./.ssh/ && \