Commit aa11b948 authored by Johannes Mey's avatar Johannes Mey
Browse files

add Dockerfile

parent f8eb816f
Pipeline #6966 passed with stages
in 6 minutes and 51 seconds
FROM ubuntu:bionic
ENV DEBIAN_FRONTEND noninteractive
ENV HOME /home/user
RUN useradd --create-home --home-dir $HOME user \
&& chmod -R u+rwx $HOME \
&& chown -R user:user $HOME
RUN apt-get update -y \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends openjdk-8-jdk \
&& apt-get clean
COPY --chown=user:user . /ros2rag/
USER user
WORKDIR /ros2rag
RUN ./gradlew --no-daemon installDist
ENTRYPOINT /bin/bash -c "./ros2rag.starter/build/install/ros2rag.starter/bin/ros2rag.starter ./ros2rag.starter/src/main/resources/config.json"
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