Fix missing for apt-get

This commit is contained in:
Donal McBreen
2023-05-01 12:50:45 +01:00
parent 494a1ae089
commit ca2e2bac2e
3 changed files with 4 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ FROM ubuntu:22.10
WORKDIR /work
RUN apt-get update && apt-get -y install openssh-client openssh-server docker.io
RUN apt-get update --fix-missing && apt-get -y install openssh-client openssh-server docker.io
RUN mkdir /root/.ssh && ln -s /shared/ssh/id_rsa.pub /root/.ssh/authorized_keys
RUN mkdir -p /etc/docker/certs.d/registry:4443 && ln -s /shared/certs/domain.crt /etc/docker/certs.d/registry:4443/ca.crt