sxdl-chain-contract (0.0.1)
Published 2023-09-16 22:17:51 +08:00 by macrocc
Installation
docker pull macrocc.com:3000/macrocc/sxdl-chain-contract:0.0.1
sha256:7c8f15940fea2ec6ffab94d1b8f409d6e58a8129175fa592e7e661eb0726c13c
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:5e9f12abe51175a60988e7a12e3893e3d65064d39edc8d4f5d02944aa203abef in /usr/share/myservice/myservice.jar |
EXPOSE 8080 |
ENTRYPOINT ["java" "-jar" "/usr/share/myservice/myservice.jar"] |