MastodonHelp/docker/per_hosting/Dockerfile
pezcurrel 1f4930495f ...
2020-05-22 17:59:00 +02:00

17 lines
649 B
Docker

FROM alpine:3
RUN apk add --no-cache apache2 php7 php7-apache2 php7-mysqli php7-mbstring php7-pcntl php7-intl php7-json php7-session mariadb mariadb-client git rsync msmtp openssh sudo
COPY files/sudo.conf /etc/
COPY files/sudoers /etc/
COPY files/my.cnf /etc/
COPY files/httpd.conf /etc/apache2/
COPY files/sshd_config /etc/ssh/
COPY files/php.ini /etc/php7/
COPY files/msmtprc /etc/php7/
COPY files/binit.sh /usr/local/bin/
COPY files/update.sh /root/
COPY files/mastostart_non_popolato.sql.gz /root/
COPY files/create_user.sql /root/
COPY files/authorized_keys /root/
COPY files/install.sh /root/
RUN /root/install.sh
CMD /usr/local/bin/binit.sh