We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a110089 commit 0a126d9Copy full SHA for 0a126d9
Dockerfile
@@ -0,0 +1,17 @@
1
+FROM rockylinux/rockylinux:9 as builder
2
+# 设置时区与语言环境变量
3
+#ENV TIME_ZONE=Asia/Shanghai
4
+#RUN echo "${TIME_ZONE}" > /etc/timezone && ln -sf /usr/share/zoneinfo/${TIME_ZONE} /etc/localtime
5
+WORKDIR /app
6
+
7
+ADD . /app
8
+RUN yum install gcc file autoconf automake make libtool git openssl-devel zlib-devel -y && rm -rf /var/cache/yum
9
+RUN sh build.sh && make build
10
11
+FROM rockylinux/rockylinux:9
12
13
14
15
+COPY --from=builder /app/ /app
16
17
+ENTRYPOINT ["./cfadmin"]
0 commit comments