parent
a77a3f01ad
commit
4d18ae3e8e
@ -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"
|
Loading…
x
Reference in New Issue
Block a user