From 038211615bb0bb1ee73ee72ee160c27e225853b1 Mon Sep 17 00:00:00 2001 From: Julius Zeidler Date: Thu, 10 Apr 2025 15:41:00 +0200 Subject: [PATCH] add docker to ubuntu --- ubuntu/Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ubuntu/Dockerfile b/ubuntu/Dockerfile index 96d4b0b..c1d1aed 100644 --- a/ubuntu/Dockerfile +++ b/ubuntu/Dockerfile @@ -1,5 +1,9 @@ FROM ubuntu -RUN apt-get -y update && \ +RUN apt-get -y update && \ + apt-get install -y apt-transport-https ca-certificates curl software-properties-common && \ + curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - && \ + add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" && \ + apt-get -y install docker-ce && \ apt-get install -y curl diffutils jq bash git zsh docker nodejs npm yarn docker CMD [ "zsh" ]