aboutsummaryrefslogtreecommitdiffstats
path: root/ransim/docker/ransim-docker/Dockerfile
diff options
context:
space:
mode:
authordeepikasatheesh <deepika.s84@wipro.com>2021-02-04 14:54:53 +0000
committerdeepikasatheesh <deepika.s84@wipro.com>2021-02-22 09:08:34 +0000
commit49f60702c82398abadb0bc28bf9a3b902b1deee7 (patch)
tree1e0ce351712eb9cd46e4bf90f5373326b298cf04 /ransim/docker/ransim-docker/Dockerfile
parent7365105475e82c302bb32094ac3c708ef5c21a72 (diff)
Refactored & enhanced code check-in RANSim Controller and RANSim GUI
Issue-ID: INT-1849 Signed-off-by: deepikasatheesh <deepika.s84@wipro.com> Change-Id: I8f92d8eae6eb67708098ccd696dbfff0eaa5f87f
Diffstat (limited to 'ransim/docker/ransim-docker/Dockerfile')
-rw-r--r--ransim/docker/ransim-docker/Dockerfile35
1 files changed, 19 insertions, 16 deletions
diff --git a/ransim/docker/ransim-docker/Dockerfile b/ransim/docker/ransim-docker/Dockerfile
index a576c92..b139fef 100644
--- a/ransim/docker/ransim-docker/Dockerfile
+++ b/ransim/docker/ransim-docker/Dockerfile
@@ -1,4 +1,4 @@
-FROM ubuntu:14.04
+FROM ubuntu:18.04
ARG HTTP_PROXY=${HTTP_PROXY}
ARG HTTPS_PROXY=${HTTPS_PROXY}
@@ -7,26 +7,27 @@ ENV http_proxy $HTTP_PROXY
ENV https_proxy $HTTPS_PROXY
RUN \
- apt-get clean && \
- apt-get update && \
- apt-get install -y zip unzip curl wget ssh telnet maven && \
- apt-get install -y software-properties-common && \
- apt-get install -y jq httpie && \
- apt-get install -y python-pip && \
- add-apt-repository ppa:openjdk-r/ppa && \
- apt-get clean && \
- apt-get update && \
- apt-get install -y openjdk-8-jdk
+apt-get clean && \
+apt-get update && \
+apt-get install -y zip unzip curl wget ssh telnet maven && \
+apt-get install -y software-properties-common && \
+apt-get install -y jq httpie && \
+apt-get install -y python-pip && \
+apt-get install -y vim && \
+add-apt-repository ppa:openjdk-r/ppa && \
+apt-get clean && \
+apt-get update && \
+apt-get install -y openjdk-8-jdk
RUN useradd --create-home --shell /bin/bash policy
RUN \
apt-get install -y apt-transport-https && \
- apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db && \
- add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu trusty main' && \
- apt-get clean && \
- apt-get update && \
- apt-get install -y mariadb-client
+apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8 && \
+add-apt-repository 'deb [arch=amd64,arm64,ppc64el] http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.4/ubuntu bionic main' && \
+apt-get clean && \
+apt-get update && \
+apt-get install -y mariadb-client
RUN mkdir -p /opt/app/policy /tmp/ransim-install && chown policy /opt/app/policy /tmp/ransim-install
@@ -39,3 +40,5 @@ USER policy
ENTRYPOINT [ "bash", "./do-start.sh" ]
+
+