-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This reverts commit 3c9aec2.
- Loading branch information
1 parent
62a0ca9
commit 5242049
Showing
8 changed files
with
124 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,44 @@ | ||
ARG VERSION=latest | ||
FROM connectedhomeip/chip-build:${VERSION} | ||
|
||
SHELL ["/bin/bash", "-o", "pipefail", "-c"] | ||
# Bazel | ||
RUN set -x \ | ||
&& apt-get update \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -fy --no-install-recommends \ | ||
curl=7.68.0-1ubuntu2.5 gnupg=2.2.19-3ubuntu2.1 \ | ||
&& curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor > /etc/apt/trusted.gpg.d/bazel.gpg \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -fy \ | ||
curl gnupg \ | ||
&& curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor > bazel.gpg \ | ||
&& mv bazel.gpg /etc/apt/trusted.gpg.d/ \ | ||
&& echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list \ | ||
&& apt-get update \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -fy --no-install-recommends \ | ||
bazel=4.0.0 \ | ||
&& rm -rf /var/lib/apt/lists/ \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -fy \ | ||
bazel \ | ||
&& : # aids diffs | ||
|
||
# Docker | ||
RUN set -x \ | ||
&& apt-get update \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -fy --no-install-recommends \ | ||
curl=7.68.0-1ubuntu2.5 gnupg-agent=2.2.19-3ubuntu2.1 apt-transport-https=2.0.5 ca-certificates=20210119~20.04.1 \ | ||
software-properties-common=0.98.9.4 \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -fy \ | ||
curl gnupg-agent apt-transport-https ca-certificates \ | ||
software-properties-common \ | ||
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - \ | ||
&& add-apt-repository \ | ||
"deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" \ | ||
&& apt-get update \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -fy --no-install-recommends \ | ||
docker-ce=5:20.10.6~3-0~ubuntu-focal docker-ce-cli=5:20.10.6~3-0~ubuntu-focal containerd.io=1.4.4-1 \ | ||
&& rm -rf /var/lib/apt/lists/ \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -fy \ | ||
docker-ce docker-ce-cli containerd.io \ | ||
&& : # aids diffs | ||
|
||
# Other Cirque prereqs | ||
RUN set -x \ | ||
&& apt-get update \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -fy --no-install-recommends \ | ||
sudo=1.8.31-1ubuntu1.2 socat=1.7.3.3-2 psmisc=23.3-1 tigervnc-standalone-server=1.10.1+dfsg-3 tigervnc-viewer=1.10.1+dfsg-3 \ | ||
python3-pip=20.0.2-5ubuntu1.3 python3-venv=3.8.2-0ubuntu2 python3-setuptools=45.2.0-1 libdbus-glib-1-dev=0.110-5fakssync1 \ | ||
uuid-runtime=2.34-0.1ubuntu9.1 libgirepository1.0-dev=1.64.1-1~ubuntu20.04.1 \ | ||
&& rm -rf /var/lib/apt/lists/ \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -fy \ | ||
sudo socat psmisc tigervnc-standalone-server tigervnc-viewer \ | ||
python3-pip python3-venv python3-setuptools libdbus-glib-1-dev \ | ||
uuid-runtime libgirepository1.0-dev \ | ||
&& : # aids diffs | ||
|
||
COPY requirements_nogrpc.txt /requirements.txt | ||
|
||
RUN set -x \ | ||
&& pip3 install --no-cache-dir -r requirements.txt \ | ||
&& pip3 install -r requirements.txt \ | ||
&& : # aids diffs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
ARG VERSION=latest | ||
FROM connectedhomeip/chip-build:${VERSION} | ||
|
||
|
||
|
||
|
||
# GNU ARM Embedded toolchain, cross compiler for various platform builds | ||
RUN set -x \ | ||
&& apt-get update \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -fy --no-install-recommends \ | ||
gcc-arm-none-eabi=15:9-2019-q4-0ubuntu1 \ | ||
binutils-arm-none-eabi=2.34-4ubuntu1+13ubuntu1 \ | ||
ccache=3.7.7-1 \ | ||
&& rm -rf /var/lib/apt/lists/ \ | ||
&& : # last line | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -fy \ | ||
gcc-arm-none-eabi \ | ||
binutils-arm-none-eabi \ | ||
ccache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
ARG VERSION=latest | ||
FROM connectedhomeip/chip-build:${VERSION} | ||
|
||
WORKDIR /opt/sdk | ||
|
||
# Setup the K32W SDK | ||
RUN set -x \ | ||
&& apt-get update \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ | ||
wget=1.20.3-1ubuntu1 unzip=6.0-25ubuntu1 \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y wget unzip \ | ||
&& rm -rf /var/lib/apt/lists/ \ | ||
&& mkdir -p /opt/sdk \ | ||
&& cd /opt/sdk \ | ||
&& wget https://mcuxpresso.nxp.com/eclipse/sdk/2.6.3/plugins/com.nxp.mcuxpresso.sdk.sdk_2.x_k32w061dk6_2.6.3.201911251446.jar \ | ||
&& unzip com.nxp.mcuxpresso.sdk.sdk_2.x_k32w061dk6_2.6.3.201911251446.jar \ | ||
&& unzip sdks/5faab205f2663647c5c7ce05c382d2a8.zip -d sdks/ \ | ||
&& rm -f com.nxp.mcuxpresso.sdk.sdk_2.x_k32w061dk6_2.6.3.201911251446.jar \ | ||
&& rm -f sdk/5faab205f2663647c5c7ce05c382d2a8.zip \ | ||
&& rm -rf com.nxp.mcuxpresso.sdk.sdk_2.x_k32w061dk6_2.6.3.201911251446.jar \ | ||
&& cd sdks \ | ||
&& unzip 5faab205f2663647c5c7ce05c382d2a8.zip \ | ||
&& rm -rf 5faab205f2663647c5c7ce05c382d2a8.zip \ | ||
&& : # last line | ||
|
||
ENV K32W061_SDK_ROOT=/opt/sdk/sdks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.