makkimaki / exp_docker_env

0 stars 0 forks source link

証明書が必要な時 #10

Open makkimaki opened 2 years ago

makkimaki commented 2 years ago
RUN mkdir -p /usr/share/ca-certificates/<scaler(optional name)>
RUN <pem file> /usr/share/ca-certificates/<scaler(optional name)>/<pem file>
RUN echo "<scaler(optional name)>/<pem file>" >> /etc/ca-certificates.conf
RUN apt-get update
RUN apt-get install -y ca-certificates
RUN update-ca-certificates

以上をDockerfileの上部に適当に追加する。READMEなどに反映させよう。。