Commit 86ac081e authored by Fernando Verdugo's avatar Fernando Verdugo
Browse files

fix(tzdata): add variable before install

issue #1608
parent e0351ec6
......@@ -3,7 +3,7 @@ LABEL maintainer="ravada@telecos.upc.edu"
LABEL description="Ravada Backend + KVM"
RUN apt-get update \
&& apt-get install -y -q --no-install-recommends \
&& DEBIAN_FRONTEND="noninteractive" TZ=$TZ apt-get install -y -q --no-install-recommends \
perl libmojolicious-perl libauthen-passphrase-perl \
libdbd-mysql-perl libdbi-perl libdbix-connector-perl libipc-run3-perl libnet-ldap-perl \
libproc-pid-file-perl libsys-virt-perl libxml-libxml-perl libconfig-yaml-perl \
......@@ -13,9 +13,7 @@ RUN apt-get update \
libfile-rsync-perl libdate-calc-perl libparallel-forkmanager-perl libdatetime-perl libencode-locale-perl netcat-openbsd \
liblwp-useragent-determined-perl libvirt-clients supervisor net-tools openssh-client apt-utils curl libpbkdf2-tiny-perl \
libio-stringy-perl libvirt-daemon-system libvirt-clients netcat-openbsd qemu-kvm qemu-utils iproute2 wget bridge-utils firewalld dnsmasq iptables ebtables \
libnet-openssh-perl libdatetime-format-dateparse-perl file
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata \
libnet-openssh-perl libdatetime-format-dateparse-perl file tzdata \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
......
......@@ -3,7 +3,7 @@ LABEL maintainer="ravada@telecos.upc.edu"
LABEL description="Ravada Frontend"
RUN apt-get update \
&& apt-get install -y -q --no-install-recommends \
&& DEBIAN_FRONTEND="noninteractive" TZ=$TZ apt-get install -y -q --no-install-recommends \
perl libmojolicious-perl libauthen-passphrase-perl \
libdbd-mysql-perl libdbi-perl libdbix-connector-perl libipc-run3-perl libnet-ldap-perl \
libproc-pid-file-perl libsys-virt-perl libxml-libxml-perl libconfig-yaml-perl \
......@@ -12,9 +12,7 @@ RUN apt-get update \
libmojolicious-plugin-i18n-perl libdbd-sqlite3-perl debconf adduser libdigest-sha-perl libnet-ssh2-perl libpbkdf2-tiny-perl \
libfile-rsync-perl libdate-calc-perl libparallel-forkmanager-perl libdatetime-perl libencode-locale-perl netcat-openbsd \
libio-stringy-perl libvirt-clients liblwp-useragent-determined-perl supervisor net-tools apt-utils lsof mysql-client \
curl bash vim wget libnet-openssh-perl libdatetime-format-dateparse-perl
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata \
curl bash vim wget libnet-openssh-perl libdatetime-format-dateparse-perl tzdata \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment