2023-03-27 21:48:50 +01:00
|
|
|
from ubuntu:latest
|
2023-03-27 21:35:12 +01:00
|
|
|
|
|
|
|
# Update and install packages
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
|
git \
|
2023-03-27 21:53:03 +01:00
|
|
|
wget \
|
2023-03-27 21:35:12 +01:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN echo "Installed 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 echo "Installed Docker"
|