11 lines
310 B
Docker
11 lines
310 B
Docker
FROM registry.fedoraproject.org/fedora:36
|
|
|
|
RUN groupadd -g 1000 jenkins \
|
|
&& useradd -c 'Jenkins user' -g 1000 -l -M -s /bin/sh -u 1000 jenkins
|
|
|
|
COPY known-hosts-command.ssh.conf /etc/ssh/ssh_config.d/10-known-hosts-command.conf
|
|
|
|
USER jenkins:jenkins
|
|
|
|
CMD ["python3", "-c", "import signal;signal.pause()"]
|