Ubuntu Dind Docker Imagen

FROM ubuntu

RUN apt-get update && apt-get install -y \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg \
    lsb-release

RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

RUN echo \
  "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
  $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && apt-get install -y docker-ce docker-ce-cli containerd.io

# install other tools that are required for our build and deployment process.
Jonathan Jalfon