Marko Oldenburg
c803838b26
All checks were successful
Create dokuwiki docker image / Explore-Gitea-Actions (push) Successful in 24s
18 lines
395 B
Docker
Executable File
18 lines
395 B
Docker
Executable File
FROM alpine
|
|
|
|
ARG VERSION=1.2.1
|
|
|
|
RUN apk add --update openssh
|
|
|
|
COPY sshd_config /etc/ssh/sshd_jumpuser_config
|
|
RUN echo "Include /etc/ssh/sshd_jumpuser_config" >> /etc/ssh/sshd_config
|
|
|
|
RUN adduser -D -s /bin/sh -H jumpuser
|
|
RUN passwd -u -d jumpuser
|
|
|
|
EXPOSE 2222
|
|
|
|
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
|
RUN chmod +x /usr/local/bin/entrypoint.sh
|
|
|
|
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] |