Created
August 11, 2021 11:06
-
-
Save hellt/c940b644587a552eadc5f7005c33c9c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:20.04 | |
RUN apt update && apt -y install \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg \ | |
lsb-release && \ | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg && \ | |
echo \ | |
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \ | |
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null && rm -rf /var/lib/apt/lists/* | |
RUN apt update && apt -y install docker-ce-cli iproute2 ssh && rm -rf /var/lib/apt/lists/* | |
RUN bash -c "$(curl -sL https://get-clab.srlinux.dev)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment