File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ Synopsis
6262class Ubuntu :
6363 @classmethod
6464 def dockerRunInstallCmake (cls , version : str ) -> str :
65- if version == '18.04' :
65+ if version == '18.04' or version == '20.04' :
6666 c = '''# update cmake https://apt.kitware.com
6767RUN apt install -y gpg wget
6868RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null
@@ -71,8 +71,8 @@ RUN apt update -y
7171RUN rm /usr/share/keyrings/kitware-archive-keyring.gpg
7272RUN apt install -y kitware-archive-keyring
7373RUN apt update -y && apt install -y cmake'''
74- elif version == '20.04' :
75- c = 'RUN apt install -y cmake'
74+ # elif version == '20.04':
75+ # c = 'RUN apt install -y cmake'
7676 else :
7777 raise Exception ('Unknown Ubuntu version %s' % version )
7878 return c
You can’t perform that action at this time.
0 commit comments