Commit d1023718 authored by fuyanbin's avatar fuyanbin
Browse files

安装根证书,支持访问https链接

parent 390cec29
FROM ubuntu:22.04
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --force-yes -y \
bc \
iputils-ping \
iproute2 \
openssl \
bzip2 \
udisks2 \
coreutils \
p7zip-full \
wget \
unzip \
zip \
git \
curl \
simg2img \
file \
openssh-client \
ca-certificates \
&& apt-get clean all
# custom tools
COPY tools/upload.sh /usr/bin
COPY tools/upload /usr/bin
RUN mkdir -p /root/.ssh && chmod 0700 /root/.ssh
RUN ls -l /root/.ssh
COPY Docker/id_rsa /root/.ssh
RUN chown root:root -R /root/.ssh
COPY Docker/start.sh /start.sh
ENTRYPOINT ["/start.sh"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment