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

View File

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