qqq / Dockerfile
BG5's picture
Update Dockerfile
baa81a6 verified
raw
history blame contribute delete
898 Bytes
# 使用 Ubuntu 作为基础镜像
FROM kasmweb/edge:1.16.0-rolling-daily
# # 设置环境变量以避免交互式提示
# ENV DEBIAN_FRONTEND=noninteractive
# # 更新包列表并安装必要的依赖
# RUN apt-get update && \
# apt-get install -y wget apt-transport-https software-properties-common && \
# apt-get clean
# # 添加 Webmin 的 GPG 密钥
# RUN wget -qO - http://www.webmin.com/jcameron-key.asc | apt-key add -
# # 添加 Webmin 的软件源
# RUN echo "deb http://download.webmin.com/download/repository sarge contrib" >> /etc/apt/sources.list
# # 更新包列表并安装 Webmin
# RUN apt-get update && \
# apt-get install -y webmin && \
# apt-get clean
# # 更改 /etc/webmin 目录的权限
# RUN chmod -R 755 /etc/webmin
# # 暴露 Webmin 的默认端口
EXPOSE 4902
# # 启动 Webmin
# CMD ["/usr/share/webmin/miniserv.pl", "/etc/webmin/miniserv.conf"]