更新openssl、kiwix-serve的dockerfile
This commit is contained in:
parent
9ce5290d49
commit
306ed22255
@ -1,13 +1,13 @@
|
||||
# 配置参数(指定基础镜像版本)
|
||||
ARG BASE_TAG=15.5
|
||||
|
||||
# 基于 openSUSE 构建
|
||||
# 基于 openSUSE Leap 构建
|
||||
FROM opensuse/leap:$BASE_TAG
|
||||
|
||||
# 指定端口号
|
||||
# 指定服务端口号
|
||||
EXPOSE 10080
|
||||
|
||||
# 配置参数
|
||||
# 配置参数(用户组、用户、HOME目录、安装目录、安装版本等)
|
||||
ARG GROUP_ID=1024 \
|
||||
GROUP_NAME=kiwix \
|
||||
USER_ID=1024 \
|
||||
|
@ -1,10 +1,10 @@
|
||||
# 配置参数(指定基础镜像版本)
|
||||
ARG BASE_TAG=15.5
|
||||
|
||||
# 基于 openSUSE 构建
|
||||
# 基于 openSUSE Leap 构建
|
||||
FROM opensuse/leap:$BASE_TAG
|
||||
|
||||
# 配置参数
|
||||
# 配置相关参数(用户组、用户、HOME目录、安装目录、安装版本等)
|
||||
ARG GROUP_ID=1024 \
|
||||
GROUP_NAME=openssl \
|
||||
USER_ID=1024 \
|
||||
@ -27,7 +27,7 @@ RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
|
||||
mkdir -pv $USER_HOME $INSTALL_PATH && \
|
||||
chown -R $GROUP_NAME.$USER_NAME $USER_HOME $INSTALL_PATH
|
||||
|
||||
# 安装 OpenSSL
|
||||
# 安装 OpenSSL(安装依赖包、编译安装)
|
||||
ADD openssl-$OPENSSL_VERSION.tar.gz $USER_HOME
|
||||
RUN zypper install -y perl gcc make && \
|
||||
cd $USER_HOME && \
|
||||
|
Loading…
Reference in New Issue
Block a user