From 380a735cd709ed8ca9ef76fca127dcd3fac7d5c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Thu, 1 Feb 2024 20:22:09 +0100 Subject: [PATCH] Split long line for repo file --- Dockerfile.vscode | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Dockerfile.vscode b/Dockerfile.vscode index 1c5daca..4eb4908 100644 --- a/Dockerfile.vscode +++ b/Dockerfile.vscode @@ -2,7 +2,14 @@ FROM registry.fedoraproject.org/fedora-toolbox:39 # Install vscode repo RUN rpm --import https://packages.microsoft.com/keys/microsoft.asc -RUN sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc"> /etc/yum.repos.d/vscode.repo' +RUN echo -e "\ +[code]\n\ +name=Visual Studio Code\n\ +baseurl=https://packages.microsoft.com/yumrepos/vscode\n\ +enabled=1\n\ +gpgcheck=1\n\ +gpgkey=https://packages.microsoft.com/keys/microsoft.asc\n\ +" > /etc/yum.repos.d/vscode.repo RUN dnf update -y \ && dnf install -y \