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
62
62
class Ubuntu :
63
63
@classmethod
64
64
def dockerRunInstallCmake (cls , version : str ) -> str :
65
- if version == '18.04' :
65
+ if version == '18.04' or version == '20.04' :
66
66
c = '''# update cmake https://apt.kitware.com
67
67
RUN apt install -y gpg wget
68
68
RUN 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
71
71
RUN rm /usr/share/keyrings/kitware-archive-keyring.gpg
72
72
RUN apt install -y kitware-archive-keyring
73
73
RUN 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'
76
76
else :
77
77
raise Exception ('Unknown Ubuntu version %s' % version )
78
78
return c
You can’t perform that action at this time.
0 commit comments