Skip to content

Instantly share code, notes, and snippets.

@hellt
Created August 11, 2021 11:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hellt/c940b644587a552eadc5f7005c33c9c5 to your computer and use it in GitHub Desktop.
Save hellt/c940b644587a552eadc5f7005c33c9c5 to your computer and use it in GitHub Desktop.
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