cubetrek-dockerized/cubetrek-dev (sha256:9c360303ed14dda38d8bccd97aba93929052ac0aea24a73c0b81d02c8a831b89)

Published 2024-10-07 14:17:19 +00:00 by fblume

Installation

docker pull git.nucleolus.xyz/fblume/cubetrek-dockerized/cubetrek-dev@sha256:9c360303ed14dda38d8bccd97aba93929052ac0aea24a73c0b81d02c8a831b89
sha256:9c360303ed14dda38d8bccd97aba93929052ac0aea24a73c0b81d02c8a831b89

Image Layers

ADD file:a9a95cfab16803be03e59ade41622ef5061cf90f2d034304fe4ac1ee9ff30389 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"]
Details
Container
2024-10-07 14:17:19 +00:00
0
OCI / Docker
linux/amd64
888 MiB
Versions (1) View all
latest 2024-10-07