Commit 2e4e199d authored by Mohammed Ismail's avatar Mohammed Ismail

[DOCKER] added tzdata

Signed-off-by: default avatarMohammed Ismail <mohammed.ismail@openairinterface.org>
parent c8f4e001
...@@ -72,10 +72,11 @@ RUN rm /etc/pki/entitlement/*pem ...@@ -72,10 +72,11 @@ RUN rm /etc/pki/entitlement/*pem
# TARGET IMAGE # TARGET IMAGE
#--------------------------------------------------------------------- #---------------------------------------------------------------------
FROM registry.access.redhat.com/ubi8/ubi:latest as oai-smf FROM registry.access.redhat.com/ubi8/ubi:latest as oai-smf
ENV TZ=Europe/Paris
# We install some debug tools for the moment in addition of mandatory libraries # We install some debug tools for the moment in addition of mandatory libraries
RUN yum update -y && \ RUN yum update -y && \
yum install -y --enablerepo="ubi-8-codeready-builder" \ yum install -y --enablerepo="ubi-8-codeready-builder" \
tzdata \
psmisc \ psmisc \
net-tools \ net-tools \
libevent && \ libevent && \
......
...@@ -59,10 +59,11 @@ RUN ./build_smf --clean --Verbose --build-type Release --jobs ...@@ -59,10 +59,11 @@ RUN ./build_smf --clean --Verbose --build-type Release --jobs
#--------------------------------------------------------------------- #---------------------------------------------------------------------
FROM ubuntu:bionic as oai-smf FROM ubuntu:bionic as oai-smf
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe ENV TZ=Europe/Paris
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
# We install some debug tools for the moment in addition of mandatory libraries # We install some debug tools for the moment in addition of mandatory libraries
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get upgrade --yes && DEBIAN_FRONTEND=noninteractive apt-get install --yes \ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get upgrade --yes && DEBIAN_FRONTEND=noninteractive apt-get install --yes \
tzdata \
psmisc \ psmisc \
net-tools \ net-tools \
bc \ bc \
......
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