fixes
All checks were successful
docker (ubuntu-latest, 2.38.4)

This commit is contained in:
Lee 2023-03-27 22:19:37 +01:00
parent 400267946e
commit 3efce1f53b

@ -1,12 +1,19 @@
from ubuntu:latest from ubuntu:latest
# Disable interactive mode
ARG DEBIAN_FRONTEND=noninteractive
# Update and install packages # Update and install packages
RUN apt update && apt upgrade -y RUN apt update && apt upgrade -y
RUN apt install -y git wget curl RUN apt install -y git wget curl
RUN rm -rf /var/lib/apt/lists/*
RUN apt clean
RUN echo "Installed and updated packages" RUN echo "Installed and updated packages"
# Install Docker # Install Docker
RUN curl -sSL https://get.docker.com/ | CHANNEL=stable bash RUN wget -q -O /tmp/docker.tgz https://download.docker.com/linux/static/stable/x86_64/docker-20.10.23.tgz \
&& tar --extract --file /tmp/docker.tgz --directory /usr/bin --strip-components 1 --no-same-owner docker/docker \
&& rm -rf /tmp/*
RUN echo "Installed Docker" RUN echo "Installed Docker"
# Clean up apt
RUN rm -rf /var/lib/apt/lists/*
RUN apt clean