cubetrek-dockerized/cubetrek-dev (sha256:7d92bca809b18b2d7f25681750521356a85561f78086114198a37e4e76076d03)
Published 2024-10-07 14:17:19 +00:00 by fblume
Installation
docker pull git.nucleolus.xyz/fblume/cubetrek-dockerized/cubetrek-dev@sha256:7d92bca809b18b2d7f25681750521356a85561f78086114198a37e4e76076d03
sha256:7d92bca809b18b2d7f25681750521356a85561f78086114198a37e4e76076d03
Image Layers
ADD file:28df1cb6a6576d40b5226851d0a6a76ffd5d1c94644ee441490b74a90f29f425 in / |
CMD ["bash"] |
RUN /bin/sh -c apt-get update && apt-get install -y curl unzip zip && curl -s https://get.sdkman.io | bash && /bin/bash -c "source $HOME/.sdkman/bin/sdkman-init.sh && sdk list java && sdk install java 21.0.4-tem && sdk install gradle" # buildkit |
ENV JAVA_HOME=/root/.sdkman/candidates/java/current |
ENV PATH=/root/.sdkman/candidates/java/current/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
WORKDIR /app |
COPY build.gradle settings.gradle /app/ # buildkit |
COPY src /app/src # buildkit |
COPY ./externaljars/TopoLibrary-2.2-SNAPSHOT.jar /app/libs/ # buildkit |
COPY ./externaljars/fit.jar /app/libs/ # buildkit |
RUN /bin/sh -c /bin/bash -c "source $HOME/.sdkman/bin/sdkman-init.sh && gradle --no-daemon dependencies" # buildkit |
RUN /bin/sh -c /bin/bash -c "source $HOME/.sdkman/bin/sdkman-init.sh && gradle --no-daemon build -x test" # buildkit |
EXPOSE map[8080/tcp:{}] |
ENTRYPOINT ["java" "-jar" "/app/build/libs/cubetrek-1.1-SNAPSHOT.jar"] |