15 lines
592 B
Docker
15 lines
592 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
|
|
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
|