ekart (latest)
Published 2024-11-09 12:36:26 +00:00 by jagrit007
Installation
docker pull gitea.jagrit.dev/jagrit007/ekart:latest
sha256:666c4b5036da8d36ae7a3d474f7a059f5dfdfef590eb0a4306ca927502f9c7e2
Image Layers
ADD file:a6ef3cbbb1c0e5dfc6c3e41d70fd93e548594d9cb42c067e52df46d418c10a79 in / |
COPY file:0f1d36dd7d8d53613b275660a88c5bf9b608ea8aa73a8054cb8bdbd73fd971ac in /etc/localtime |
CMD ["/bin/sh"] |
ENV LANG=C.UTF-8 |
/bin/sh -c { echo '#!/bin/sh'; echo 'set -e'; echo; echo 'dirname "$(dirname "$(readlink -f "$(which javac || which java)")")"'; } > /usr/local/bin/docker-java-home && chmod +x /usr/local/bin/docker-java-home |
ENV JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk |
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/java-1.8-openjdk/jre/bin:/usr/lib/jvm/java-1.8-openjdk/bin |
ENV JAVA_VERSION=8u151 |
ENV JAVA_ALPINE_VERSION=8.151.12-r0 |
/bin/sh -c set -x && apk add --no-cache openjdk8="$JAVA_ALPINE_VERSION" && [ "$JAVA_HOME" = "$(docker-java-home)" ] |
EXPOSE map[8070/tcp:{}] |
ENV APP_HOME=/usr/src/app |
COPY target/shopping-cart-0.0.1-SNAPSHOT.jar /usr/src/app/app.jar # buildkit |
WORKDIR /usr/src/app |
ENTRYPOINT ["/bin/sh" "-c" "exec java -jar app.jar"] |