from ubuntu:latest # Update and install packages RUN apt update && apt upgrade -y RUN apt install -y git wget curl RUN rm -rf /var/lib/apt/lists/* RUN apt clean RUN echo "Installed and updated packages" # Install Docker RUN curl -sSL https://get.docker.com/ | CHANNEL=stable bash RUN echo "Installed Docker"