You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
575 B
13 lines
575 B
FROM ubuntu:latest
|
|
|
|
RUN apt update &&\
|
|
apt install ca-certificates curl gnupg lsb-release -y && \
|
|
mkdir -p /etc/apt/keyrings && \
|
|
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg &&\
|
|
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
|
|
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null; \
|
|
apt update &&\
|
|
apt install git docker-ce docker-ce-cli containerd.io docker-compose-plugin -y;
|
|
|
|
|