21 Star 72 Fork 73

openEuler/openeuler-docker-images
Closed

Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
Dockerfile 766 Bytes
Copy Edit Raw Blame History
baigj authored 2025-03-24 12:35 +08:00 . update: container image classification
ARG BASE=openeuler/openeuler:22.03-lts-sp3
FROM ${BASE}
ARG TARGETARCH
ARG VERSION=1.7.0
RUN yum update -y && yum install -y wget && yum clean all && \
wget -O pushgateway.tar.gz https://github.com/prometheus/pushgateway/releases/download/v${VERSION}/pushgateway-${VERSION}.linux-${TARGETARCH}.tar.gz && \
mkdir /pushgateway && tar -zxvf pushgateway.tar.gz -C /pushgateway --strip-components 1 && \
mv /pushgateway/pushgateway /bin/pushgateway && \
rm -rf pushgateway.tar.gz /pushgateway/
RUN mkdir -p /pushgateway && \
groupadd -r pushgateway && useradd -r -g pushgateway pushgateway && \
chown pushgateway:pushgateway /pushgateway /bin/pushgateway
WORKDIR /pushgateway
USER pushgateway
EXPOSE 9091
ENTRYPOINT [ "/bin/pushgateway" ]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openeuler/openeuler-docker-images.git
git@gitee.com:openeuler/openeuler-docker-images.git
openeuler
openeuler-docker-images
openeuler-docker-images
master

Search