Split long line for repo file
This commit is contained in:
parent
65c0898bf1
commit
380a735cd7
@ -2,7 +2,14 @@ FROM registry.fedoraproject.org/fedora-toolbox:39
|
|||||||
|
|
||||||
# Install vscode repo
|
# Install vscode repo
|
||||||
RUN rpm --import https://packages.microsoft.com/keys/microsoft.asc
|
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 \
|
RUN dnf update -y \
|
||||||
&& dnf install -y \
|
&& dnf install -y \
|
||||||
|
Loading…
Reference in New Issue
Block a user