outroll / vesta

VESTA Control Panel
http://vestacp.com
GNU General Public License v3.0
2.97k stars 1.03k forks source link

Install error on docker unbuntu 19.04 #1972

Open vikei opened 4 years ago

vikei commented 4 years ago

I run in docker ubuntu:19.04

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
anton-reutov commented 4 years ago

19.04 is not supported yet, but planned.