mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Add a comment
This commit is contained in:
parent
dc9a22df00
commit
bd3812a462
@ -58,6 +58,7 @@ RUN apt-get update \
|
||||
|
||||
RUN dockerd --version; docker --version
|
||||
|
||||
# Architecture of the image when BuildKit/buildx is used
|
||||
ARG TARGETARCH
|
||||
# FIXME: psycopg2-binary is not available for aarch64, we skip it for now
|
||||
RUN test x$TARGETARCH = xarm64 || ( python3 -m pip install \
|
||||
|
@ -57,7 +57,7 @@ def parse_args() -> argparse.Namespace:
|
||||
|
||||
args = parser.parse_args()
|
||||
if len(args.suffixes) < 2:
|
||||
raise parser.error("more than two --suffix should be given")
|
||||
parser.error("more than two --suffix should be given")
|
||||
|
||||
return args
|
||||
|
||||
@ -81,6 +81,7 @@ def strip_suffix(suffix: str, images: Images) -> Images:
|
||||
|
||||
|
||||
def check_sources(to_merge: Dict[str, Images]) -> Images:
|
||||
"""get a dict {arch1: Images, arch2: Images}"""
|
||||
result = {} # type: Images
|
||||
first_suffix = ""
|
||||
for suffix, images in to_merge.items():
|
||||
|
Loading…
Reference in New Issue
Block a user