Fix missing for apt-get
This commit is contained in:
@@ -2,7 +2,7 @@ FROM ruby:3.2
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt-get update && apt-get install -y ca-certificates openssh-client curl gnupg docker.io
|
||||
RUN apt-get update --fix-missing && apt-get install -y ca-certificates openssh-client curl gnupg docker.io
|
||||
|
||||
RUN install -m 0755 -d /etc/apt/keyrings
|
||||
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
||||
@@ -12,7 +12,7 @@ RUN echo \
|
||||
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
|
||||
tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||
|
||||
RUN apt-get update && apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
||||
RUN apt-get update --fix-missing && apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
||||
|
||||
COPY boot.sh .
|
||||
COPY app/ .
|
||||
|
||||
@@ -2,7 +2,7 @@ FROM ubuntu:22.10
|
||||
|
||||
WORKDIR /work
|
||||
|
||||
RUN apt-get update && apt-get -y install openssh-client openssl
|
||||
RUN apt-get update --fix-missing && apt-get -y install openssh-client openssl
|
||||
|
||||
RUN mkdir ssh && \
|
||||
ssh-keygen -t rsa -f ssh/id_rsa -N ""
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user