nacos-server (v2.3.2-slim)
Published 2024-07-15 07:44:18 +00:00 by ci
Installation
docker pull git.dsvision.net/anyview/nacos-server:v2.3.2-slim
sha256:86fb613b6efdb1c42c42f98168192f7a231d6765737e065e674bb371aa18db53
About this package
This project contains a Docker image meant to facilitate the deployment of Nacos .
Image Layers
ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=20.04 |
ADD file:12f97b7b044d0d1166dd59408c67f5610a764127aa8a01bc57db23bee48911af in / |
CMD ["/bin/bash"] |
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 |
RUN /bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl ca-certificates fontconfig locales && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && locale-gen en_US.UTF-8 && rm -rf /var/lib/apt/lists/* # buildkit |
ENV JAVA_VERSION=jdk8u372-b07 |
RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in aarch64|arm64) ESUM='f8e440273c8feb3fcfaca88ba18fec291deae18a548adde8a37cd1db08107b95'; BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u372-b07/OpenJDK8U-jre_aarch64_linux_hotspot_8u372b07.tar.gz'; ;; armhf|armv7l) ESUM='e58e017012838ae4f0db78293e3246cc09958e6ea9a2393c5947ec003bf736dd'; BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u372-b07/OpenJDK8U-jre_arm_linux_hotspot_8u372b07.tar.gz'; ;; ppc64el|ppc64le) ESUM='ba5f8141a16722e39576bf42b69d2b8ebf95fc2c05441e3200f609af4dd9f1ea'; BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u372-b07/OpenJDK8U-jre_ppc64le_linux_hotspot_8u372b07.tar.gz'; ;; amd64|x86_64) ESUM='b6fdfe32085a884c11b31f66aa67ac62811df7112fb6fb08beea61376a86fbb4'; BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u372-b07/OpenJDK8U-jre_x64_linux_hotspot_8u372b07.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; curl -LfsSo /tmp/openjdk.tar.gz ${BINARY_URL}; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p /opt/java/openjdk; cd /opt/java/openjdk; tar -xf /tmp/openjdk.tar.gz --strip-components=1; rm -rf /tmp/openjdk.tar.gz; # buildkit |
ENV JAVA_HOME=/opt/java/openjdk PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
ENV MODE=cluster PREFER_HOST_MODE=ip BASE_DIR=/home/nacos CLASSPATH=.:/home/nacos/conf: CLUSTER_CONF=/home/nacos/conf/cluster.conf FUNCTION_MODE=all NACOS_USER=nacos JAVA=/opt/java/openjdk/bin/java JVM_XMS=1g JVM_XMX=1g JVM_XMN=512m JVM_MS=128m JVM_MMS=320m NACOS_DEBUG=n TOMCAT_ACCESSLOG_ENABLED=false TZ=Asia/Shanghai |
WORKDIR /home/nacos |
COPY /home/nacos /home/nacos # buildkit |
ADD bin/docker-startup.sh bin/docker-startup.sh # buildkit |
ADD conf/application.properties conf/application.properties # buildkit |
RUN /bin/sh -c mkdir -p logs && cd logs && touch start.out && ln -sf /dev/stdout start.out && ln -sf /dev/stderr start.out # buildkit |
RUN /bin/sh -c chmod +x bin/docker-startup.sh # buildkit |
EXPOSE map[8848/tcp:{}] |
ENTRYPOINT ["bin/docker-startup.sh"] |
COPY docker-startup.sh /home/nacos/bin/docker-startup.sh # buildkit |
RUN /bin/sh -c chmod +x /home/nacos/bin/docker-startup.sh # buildkit |
Labels
Key | Value |
---|---|
org.opencontainers.image.created | 2024-04-03T07:38:42.315Z |
org.opencontainers.image.description | This project contains a Docker image meant to facilitate the deployment of Nacos . |
org.opencontainers.image.licenses | |
org.opencontainers.image.ref.name | ubuntu |
org.opencontainers.image.revision | c150bce691f4996871203b5897dd357f6d8a0e24 |
org.opencontainers.image.source | https://github.com/nacos-group/nacos-docker |
org.opencontainers.image.title | nacos-docker |
org.opencontainers.image.url | https://github.com/nacos-group/nacos-docker |
org.opencontainers.image.version | v2.3.2-slim |
Details
2024-07-15 07:44:18 +00:00
Versions (1)
View all
Container
5
OCI / Docker
linux/amd64
228 MiB
v2.3.2-slim
2024-07-15