Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
e7912a00
Commit
e7912a00
authored
Oct 08, 2021
by
Fernando Verdugo
Browse files
fix(tzdata): add env variable before install
issue #1605
parent
591b49ab
Changes
2
Hide whitespace changes
Inline
Side-by-side
dockerfy/dockers/back/Dockerfile
View file @
e7912a00
...
...
@@ -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
\
...
...
@@ -12,15 +12,12 @@ RUN apt-get update \
libmojolicious-plugin-i18n-perl libdbd-sqlite3-perl debconf adduser libdigest-sha-perl libnet-ssh2-perl
\
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
\
libio-stringy-perl libvirt-daemon-system libvirt-clients netcat-openbsd qemu-kvm qemu-utils iproute2 wget bridge-utils firewalld dnsmasq iptables ebtables
iptstate
\
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
ENV
TZ=Europe/Madrid
RUN
DEBIAN_FRONTEND
=
noninteractive apt-get
install
-y
tzdata
\
RUN
echo
"listen_tls = 0"
>>
/etc/libvirt/libvirtd.conf
\
&&
echo
'listen_tcp = 1'
>>
/etc/libvirt/libvirtd.conf
\
# && mkdir -p /root/.ssh
\
...
...
dockerfy/dockers/front/Dockerfile
View file @
e7912a00
...
...
@@ -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,17 +12,11 @@ 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
\
&&
apt-get clean
\
ENV
TZ=Europe/Madrid
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
RUN
ln
-snf
/usr/share/zoneinfo/
$TZ
/etc/localtime
&&
echo
$TZ
>
/etc/timezone
RUN
mkdir
-p
/var/log/supervisor
\
&&
mkdir
-p
/run/sshd
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment