Changed composition to make it easier to user

This commit is contained in:
Christian Risi
2025-06-25 16:12:08 +02:00
parent cc7f8bcba8
commit fa8d967748
9 changed files with 86 additions and 218 deletions

View File

@@ -1,10 +1,10 @@
FROM alpine
ENV PATH "$PATH:/docker-bin"
ENV PATH="$PATH:/docker-bin"
RUN apk update && apk upgrade
RUN apk add nginx openssh openrc \
nano openssl git nginx-mod-stream \
RUN apk add nginx openrc \
openssl nginx-mod-stream \
nginx-mod-http-headers-more \
tcpdump
@@ -16,12 +16,8 @@ RUN chown -R www:www /www
RUN cp /etc/nginx/nginx.conf /etc/nginx/nginx.conf.orig
# SSHD
RUN rc-update add sshd
RUN touch /run/openrc/softlevel
COPY ./ssh/sshd_config /etc/ssh/sshd_config
WORKDIR /docker-bin
COPY ./helper-scripts /docker-bin