Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / integrations / docker / images / chip-build-cirque / Dockerfile
1 ARG VERSION=latest
2 FROM connectedhomeip/chip-build:${VERSION}
3
4 # Bazel
5 RUN set -x \
6     && apt-get update \
7     && DEBIAN_FRONTEND=noninteractive apt-get install -fy \
8        curl gnupg \
9     && curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor > bazel.gpg \
10     && mv bazel.gpg /etc/apt/trusted.gpg.d/ \
11     && echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list \
12     && apt-get update \
13     && DEBIAN_FRONTEND=noninteractive apt-get install -fy \
14        bazel \
15     && : # aids diffs
16
17 # Docker
18 RUN set -x \
19     && apt-get update \
20     && DEBIAN_FRONTEND=noninteractive apt-get install -fy \
21        curl gnupg-agent apt-transport-https ca-certificates \
22        software-properties-common \
23     && curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - \
24     && add-apt-repository \
25        "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" \
26     && apt-get update \
27     && DEBIAN_FRONTEND=noninteractive apt-get install -fy \
28        docker-ce docker-ce-cli containerd.io \
29     && : # aids diffs
30
31 # Other Cirque prereqs
32 RUN set -x \
33     && apt-get update \
34     && DEBIAN_FRONTEND=noninteractive apt-get install -fy \
35        sudo socat psmisc tigervnc-standalone-server tigervnc-viewer \
36        python3-pip python3-venv python3-setuptools libdbus-glib-1-dev \
37        uuid-runtime libgirepository1.0-dev \
38     && : # aids diffs
39
40 COPY requirements_nogrpc.txt /requirements.txt
41
42 RUN set -x \
43     && pip3 install -r requirements.txt \
44     && : # aids diffs