9 lines
398 B
Text
9 lines
398 B
Text
|
ARG BUILD_FROM
|
||
|
FROM $BUILD_FROM
|
||
|
RUN apk add rsyslog openvpn openssh haproxy curl rsync
|
||
|
RUN mkdir /root/.ssh && chmod 700 /root/.ssh && touch /root/.ssh/authorized_keys
|
||
|
RUN mkdir -p /etc/ssh/sshd_config.d/ /etc/rsyslog.d/ /var/lib/haproxy/dev
|
||
|
RUN echo 'Include /etc/ssh/sshd_config.d/*.conf' >> /etc/ssh/sshd_config
|
||
|
RUN echo '$IncludeConfig /etc/rsyslog.d/*.conf' >> /etc/rsyslog.conf
|
||
|
COPY rootfs /
|