fixes
Some checks failed
docker (ubuntu-latest, 2.38.4)

This commit is contained in:
Lee 2023-03-27 22:04:51 +01:00
parent a77a3f01ad
commit 4d18ae3e8e

@ -1,14 +1,11 @@
from ubuntu:latest from ubuntu:latest
# Update and install packages # Update and install packages
RUN apt-get update && apt-get install -y \ RUN apt install -y git wget
git \ RUN rm -rf /var/lib/apt/lists/*
wget \ RUN apt clean
&& rm -rf /var/lib/apt/lists/* RUN echo "Installed and updated packages"
RUN echo "Installed packages"
# Install Docker # Install Docker
RUN wget -q -O /tmp/docker.tgz https://download.docker.com/linux/static/stable/x86_64/docker-20.10.23.tgz \ RUN curl -sSL https://get.docker.com/ | CHANNEL=stable bash
&& 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"