Installing vega on docker

190 views
Skip to first unread message

rahul yadav

unread,
Mar 19, 2018, 5:56:07 AM3/19/18
to Vega Users
I'm currently trying to install vega on a docker container over a Kali Linux virtual machine. I am successfully able to install the JVM/JDK. However the Vega installation step fails stating error code =13, which is probably due to an incompatible Java version. 

How I can overcome this issue? 

Here is my docker file



FROM ubuntu
:16.04
ARG DEBIAN_FRONTEND
=noninteractive


# Install Java
RUN apt
-get update -y && \
    apt
-get install -y software-properties-common && \
    apt
-add-repository ppa:webupd8team/java && \
    apt
-get update -y && \
    apt
-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886 && \
    echo oracle
-java8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && \
    apt
-get install -y oracle-java8-installer && \
    apt
-get install -y oracle-java8-unlimited-jce-policy && \
    apt
-get clean && \
    rm
-rf /var/lib/apt/lists/* && \
    rm -rf /var/cache/oracle-jdk8-installer
ENV JAVA_HOME /usr/lib/jvm/java-8-oracle


# Remove lists with force and verbose, then fix broken and then remove unneccesary files.
RUN rm /var/lib/apt/lists/* -vf && \
        apt --fix-broken install && \
        apt-get autoremove && \
        apt-get update -y




# Install essentials packages for Vega
RUN apt-get install -y libwebkitgtk-1.0 default-jdk unzip && \
        mkdir infosec && \
        cd infosec && \
        wget https://dist.subgraph.com/downloads/VegaBuild-linux.gtk.x86_64.zip && \
        unzip VegaBuild-linux.gtk.x86_64.zip && \
        cd vega && \
        ./Vega



When I commented the Vega installation step and built the image, I was able to successfully build and have the docker run command, printing the Java version.  What am I missing here.
Reply all
Reply to author
Forward
0 new messages