sxdl-chain-contract (0.1.2)
Published 2023-09-30 12:27:04 +08:00 by macrocc
Installation
docker pull macrocc.com:3000/macrocc/sxdl-chain-contract:0.1.2
sha256:1c48ea51e111bfa4ec9eb03eda849cbc87f0a8dd4195609a1a74311e0a62ce2d
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:c5580126d67791006e9972ff80130b86a296eadbd089410fbf53c2684b33f370 in /usr/share/myservice/myservice.jar |
EXPOSE 8080 |
ENTRYPOINT ["java" "-jar" "/usr/share/myservice/myservice.jar"] |