Skip to content

Commit 27a82e9

Browse files
committed
fix docker script for cmake 3.18
1 parent f7168c0 commit 27a82e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker/tinker9.docker

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Synopsis
6262
class 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
6767
RUN apt install -y gpg wget
6868
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
7171
RUN rm /usr/share/keyrings/kitware-archive-keyring.gpg
7272
RUN apt install -y kitware-archive-keyring
7373
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'
7676
else:
7777
raise Exception('Unknown Ubuntu version %s' % version)
7878
return c

0 commit comments

Comments
 (0)