sxdl-chain-contract (0.1.0)
Published 2023-09-26 14:56:42 +08:00 by macrocc
Installation
docker pull macrocc.com:3000/macrocc/sxdl-chain-contract:0.1.0
sha256:4da15bbda41f2986a5cc55fcc0ec04da5f069a989130df841127059470ac51e4
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:9dca89fcf63042fb7c5cfdc31f0384817142ef38f7aa2a21bff776df93f38f16 in /usr/share/myservice/myservice.jar |
EXPOSE 8080 |
ENTRYPOINT ["java" "-jar" "/usr/share/myservice/myservice.jar"] |