RUN curl -O http://vestacp.com/pub/vst-install.sh && \
bash vst-install.sh -y --nginx yes --apache yes --mysql yes \
--phpfpm no --named no --remi no --vsftpd no --proftpd no --iptables no --fail2ban no \
--quota no --exim no --dovecot no --spamassassin no --clamav no --softaculous no \
--postgresql no \
--hostname evecalls --email offi@ce.com --password 121212
And got
E: Malformed entry 1 in list file /etc/apt/sources.list.d/nginx.list (Component)
E: Malformed entry 1 in list file /etc/apt/sources.list.d/vesta.list (Component)
E: The list of sources could not be read.
E: Malformed entry 1 in list file /etc/apt/sources.list.d/nginx.list (Component)
E: Malformed entry 1 in list file /etc/apt/sources.list.d/vesta.list (Component)
E: The list of sources could not be read.
Error: apt-get upgrade failed
nginx.list content
deb http://nginx.org/packages/mainline/ubuntu/ nginx
vesta.list content
deb http://apt.vestacp.com// vesta
Dockerfile:
FROM ubuntu:19.04
RUN apt update && \
apt autoremove -y && \
apt clean && \
apt dist-upgrade -y && \
apt autoremove -y
# Q: tzdata: what locale to choose???
RUN apt install -y tzdata locales curl gnupg2 vim nginx apache2
RUN locale-gen ru_RU && \
locale-gen ru_RU.UTF-8 && \
update-locale
RUN curl -O http://vestacp.com/pub/vst-install.sh && \
yes | bash vst-install.sh -y --nginx yes --apache yes --mysql yes \
--phpfpm no --named no --remi no --vsftpd no --proftpd no --iptables no --fail2ban no \
--quota no --exim no --dovecot no --spamassassin no --clamav no --softaculous no \
--postgresql no \
--hostname evecalls --email offi@ce.com --password 121212
I run in docker
ubuntu:19.04
And got
nginx.list
contentvesta.list
contentDockerfile
: