Skip to content
Snippets Groups Projects
Commit 277cda77 authored by Rich Wareham's avatar Rich Wareham Committed by Rich Wareham
Browse files

gitaly, sidekiq: add ssh and ssh-keyscan binaries

Repository mirroring via SSH requires that the ssh and ssh-keyscan be
present in the gitaly and sidekiq containers. Install the openssh-client
package as a dependency to provide them.

Closes charts/gitlab#1167
parent d30349bf
No related merge requests found
......@@ -12,9 +12,10 @@ ARG GITALY_VERSION=v0.96.1
ARG BUILD_DIR=/tmp/build
ARG BUNDLE_OPTIONS="--jobs 4 --without development test"
# install runtime deps
# install runtime deps. openssh-client is required so that SSH client binaries
# are present for repository mirroring.
RUN apt-get update \
&& apt-get install -y --no-install-recommends libicu57 net-tools
&& apt-get install -y --no-install-recommends libicu57 net-tools openssh-client
# create gitlab user
# openssh daemon does not allow locked user to login, change ! to *
......
......@@ -8,6 +8,11 @@ ARG GITLAB_USER=git
ENV SIDEKIQ_CONCURRENCY=25
ENV SIDEKIQ_TIMEOUT=4
# Install runtime deps. openssh-client is required so that SSH client binaries
# are present for repository mirroring.
RUN apt-get update \
&& apt-get install -y --no-install-recommends openssh-client
# Add scripts
COPY scripts/ /scripts/
RUN chown -R $GITLAB_USER:$GITLAB_USER /scripts
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment