diff options
Diffstat (limited to 'docker')
| -rw-r--r-- | docker/Dockerfile | 4 | ||||
| -rw-r--r-- | docker/README.md | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 828b9a2..aeba7ce 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -35,9 +35,7 @@ RUN apk add -q --no-cache bash git openssh-client tini COPY --from=build ["/deps", "/deps/"] ENV PYTHONPATH="/deps:/usr/src" -ARG ssh_sock_dir=/ -ARG ssh_sock_path="$ssh_sock_dir/ssh-agent.sock" -ENV SSH_AUTH_SOCK="$ssh_sock_path" +ENV SSH_AUTH_SOCK="/ssh/agent.sock" COPY ["docker/cgitize.sh", "/"] COPY ["docker/get_output_dir.py", "/"] diff --git a/docker/README.md b/docker/README.md index 32aad34..5e09007 100644 --- a/docker/README.md +++ b/docker/README.md @@ -8,7 +8,7 @@ The `SCHEDULE` environment variable controls how often it gets run (see below). * Volumes: * `/etc/cgitize/cgitize.toml`: configuration file path. * `/mnt/cgitize`: by default, cloned repositories will be written here. - * `/ssh-agent.sock`: if you use SSH, map the agent socket here. + * `/ssh/agent.sock`: if you use SSH, map the agent socket here. * Environment variables: * `SCHEDULE`: defaults to "once", which makes the container exit after the first run. |
