Docker image for version 0.0.12

10 views
Skip to first unread message

mathieu...@diginext.fr

unread,
Apr 27, 2020, 4:40:52 AM4/27/20
to Nussknacker

Hi All,


First of all, I hope you and your loved ones are doing well during this Covid crisis.


I just found the link to the newslist, so I send this question again (it was initially sent to Maciek's mailbox - sorry for the spam), and the solution I set up to build my own docker nussknacker image (it could be an interesting resource).

I'm currently working on integrating nussknacker (Congratulations for this amazing tool !) in a docker environment. Unfortunately, I couldn't find a docker image for the 0.0.12 on the public docker hub (and even more, no image seem to be related to the tags of the GitHub. All I can see is shapshot images.


Did I miss something ? Is there a way to pull a docker image related to the tags of the nussknacker project ?


Thanks a lot, and best regards


Dokerfile proposition for Nussknacker releases :

-----------


FROM ubuntu:20.04
ARG nussknacker_version

RUN apt-get update && \
apt-get install -y openjdk-8-jdk && \
apt-get install -y ant && \
apt-get clean;
# Fix certificate issues
RUN apt-get update && \
apt-get install ca-certificates-java && \
apt-get clean && \
update-ca-certificates -f;
# Setup JAVA_HOME -- useful for docker commandline
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64/
RUN export JAVA_HOME
# setting up nussknacker
ADD ./build /opt/nussknacker
ADD https://search.maven.org/remotecontent?filepath=pl/touk/nussknacker/nussknacker-ui_2.12/${nussknacker_version}/nussknacker-ui_2.12-${nussknacker_version}-assembly.jar /opt/nussknacker/lib/nussknacker-ui_2.12-${nussknacker_version}-assembly.jar
WORKDIR /opt/nussknacker
ENTRYPOINT ["/opt/nussknacker/bin/nussknacker-entrypoint.sh"]e nussknacker project ?


Comments : My build directory contains a conf directory (containing the default configuration files I found on the staging nusknacker docker images) and a bin directory containing the sh scripts I found in the github. I just had to export an environment variable (Authentication_user_files) tu get the image I built for 0.0.12 version up and running

Reply all
Reply to author
Forward
0 new messages