sxdl-chain-contract (0.0.2)
Published 2023-09-17 23:51:31 +08:00 by macrocc
Installation
docker pull macrocc.com:3000/macrocc/sxdl-chain-contract:0.0.2
sha256:3d5ec34a1a275dd4e7c401cc24dc27607144f91ea45f62d2e8420dda3e172986
Image Layers
ADD file:a86aea1f3a7d68f6ae03397b99ea77f2e9ee901c5c59e59f76f93adbb4035913 in / |
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/jre |
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=8u212 |
ENV JAVA_ALPINE_VERSION=8.212.04-r0 |
/bin/sh -c set -x && apk add --no-cache openjdk8-jre="$JAVA_ALPINE_VERSION" && [ "$JAVA_HOME" = "$(docker-java-home)" ] |
ARG JAR_FILE |
ARG host |
ARG port |
ARG name |
ARG user |
ARG pass |
ENV DEVOPS_MYSQL_HOST=macrocc.com |
ENV DEVOPS_MYSQL_PORT=3306 |
ENV DEVOPS_MYSQL_DATABASE_NAME=sxdl-chain-contract |
ENV DEVOPS_MYSQL_USERNAME=root |
ENV DEVOPS_MYSQL_PASSWORD=root |
ADD file:bef6121cb103da4b76a96b846ef8488c2b345ed2fdb0ae6b61b1393d34ff0dc4 in /usr/share/myservice/myservice.jar |
EXPOSE 8080 |
ENTRYPOINT ["java" "-jar" "/usr/share/myservice/myservice.jar"] |