github.com/polarismesh/polaris@v1.17.8/release/standalone/docker/Dockerfile (about) 1 FROM centos:centos7.9.2009 2 3 ARG SERVER_VERSION=v1.12.0 4 ARG CONSOLE_VERSION=v1.9.0 5 ARG LIMITER_VERSION=v1.0.2 6 ARG GOOS=linux 7 ARG TARGETARCH=amd64 8 9 LABEL cn.polarismesh.image.authors="polaris" 10 LABEL cn.polarismesh.image.documentation="https://polarismesh.cn/#/" 11 12 RUN yum install -y lsof curl unzip vixie-cron crontabs net-tools 13 14 COPY polaris-server-release_${SERVER_VERSION}.${GOOS}.${TARGETARCH}.zip /root/polaris-server-release_${SERVER_VERSION}.${GOOS}.${TARGETARCH}.zip 15 COPY polaris-console-release_${CONSOLE_VERSION}.${GOOS}.${TARGETARCH}.zip /root/polaris-console-release_${CONSOLE_VERSION}.${GOOS}.${TARGETARCH}.zip 16 COPY polaris-limiter-release_${LIMITER_VERSION}.${GOOS}.${TARGETARCH}.zip /root/polaris-limiter-release_${LIMITER_VERSION}.${GOOS}.${TARGETARCH}.zip 17 COPY prometheus-2.28.0.${GOOS}-${TARGETARCH}.tar.gz /root/prometheus-2.28.0.${GOOS}-${TARGETARCH}.tar.gz 18 COPY pushgateway-1.6.0.${GOOS}-${TARGETARCH}.tar.gz /root/pushgateway-1.6.0.${GOOS}-${TARGETARCH}.tar.gz 19 COPY install.sh /root/install.sh 20 COPY prometheus-help.sh /root/prometheus-help.sh 21 COPY port.properties /root/port.properties 22 COPY run.sh /root/run.sh 23 24 WORKDIR /root 25 26 EXPOSE 8091 8090 8761 8093 8080 8100 8101 8761 15010 9090 9091 27 28 CMD ["/bin/bash", "run.sh"]