环境
Dockerfile
updatePasswd.sh
config
webmin_1.973_all.deb
下载地址:http://prdownloads.sourceforge.net/webadmin/webmin_1.973_all.deb
readme.txt
Dockerfile
FROM ubuntu:18.04
ENV LANG=C.UTF-8
ENV DEBIAN_FRONTEND=noninteractive
ADD webmin_1.973_all.deb /webmin_1.973_all.deb
ADD updatePasswd.sh /updatePasswd.sh
ADD config /config
WORKDIR /
RUN sed -i s@/archive.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list \
&& apt-get clean \
&& chmod 777 updatePasswd.sh
#镜像的操作指令
RUN chmod +x webmin_1.973_all.deb \