blob: 0127e22c6b9403385035bdd9624e776762fa60f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
FROM registry.gitlab.com/grumps/grumpy-containers/base:v0.0.2
SHELL ["/bin/bash", "-c"]
RUN install_deb gitolite3
RUN addgroup --gid 998 git \
&& useradd --no-create-home \
--home-dir /var/lib/git \
--uid 998 \
--gid 998 \
git
RUN mkdir -p /run/sshd
COPY bin/entrypoint.sh /usr/bin/entrypoint.sh
COPY etc/ssh/sshd_config /etc/ssh/sshd_config
ENTRYPOINT ["/usr/bin/entrypoint.sh"]
CMD ["/usr/sbin/sshd"]
|