Skip to content

Commit 1295158

Browse files
woody-applerestyled-commits
authored andcommitted
Pinning all versions, fixing script (#28140)
* Pinning version, fixing script * Restyled by shfmt --------- Co-authored-by: Restyled.io <commits@restyled.io>
1 parent e06caf2 commit 1295158

File tree

29 files changed

+35
-31
lines changed

29 files changed

+35
-31
lines changed

examples/all-clusters-app/linux/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# limitations under the License.
1616
#
1717

18-
from generic_node_image
18+
FROM generic_node_image
1919
RUN apt-get install -y libglib2.0
2020
COPY out/debug/chip-all-clusters-app /usr/bin/
2121
COPY entrypoint.sh /

examples/bridge-app/linux/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
# limitations under the License.
1616
#
1717

18-
FROM ghcr.io/project-chip/chip-cirque-device-base:latest
18+
ARG VERSION=1
19+
FROM ghcr.io/project-chip/chip-cirque-device-base:${VERSION}
1920
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip
2021

2122
COPY out/debug/chip-bridge-app /usr/bin/

examples/chip-tool/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
# limitations under the License.
1616
#
1717

18-
FROM ghcr.io/project-chip/chip-cirque-device-base:latest
18+
ARG VERSION=1
19+
FROM ghcr.io/project-chip/chip-cirque-device-base:${VERSION}
1920
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip
2021

2122
COPY out/debug/chip-tool /usr/bin/

examples/lighting-app/linux/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
# limitations under the License.
1616
#
1717

18-
FROM ghcr.io/project-chip/chip-cirque-device-base:latest
18+
ARG VERSION=1
19+
FROM ghcr.io/project-chip/chip-cirque-device-base:${VERSION}
1920
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip
2021

2122
COPY out/debug/chip-lighting-app /usr/bin/

examples/resource-monitoring-app/linux/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
# limitations under the License.
1616
#
1717

18-
FROM connectedhomeip/chip-cirque-device-base:latest
18+
ARG VERSION=1
19+
FROM connectedhomeip/chip-cirque-device-base:${VERSION}
1920

2021
COPY out/debug/chip-resource-monitoring-app /usr/bin/
2122
COPY entrypoint.sh /

examples/shell/telink/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ You can use this example as a reference for creating your own application.
99
1. Pull docker image from repository:
1010

1111
```bash
12-
$ docker pull connectedhomeip/chip-build-telink:latest
12+
$ docker pull ghcr.io/project-chip/chip-build-telink:1
1313
```
1414

1515
1. Run docker container:
1616

1717
```bash
18-
$ docker run -it --rm -v ${CHIP_BASE}:/root/chip -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule "c 189:* rmw" connectedhomeip/chip-build-telink:latest
18+
$ docker run -it --rm -v ${CHIP_BASE}:/root/chip -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule "c 189:* rmw" ghcr.io/project-chip/chip-build-telink:1
1919
```
2020

2121
here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay

examples/smoke-co-alarm-app/telink/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ You can use this example as a reference for creating your own application.
99
1. Pull docker image from repository:
1010

1111
```bash
12-
$ docker pull connectedhomeip/chip-build-telink:latest
12+
$ docker pull ghcr.io/project-chip/chip-build-telink:1
1313
```
1414

1515
1. Run docker container:
1616

1717
```bash
18-
$ docker run -it --rm -v ${CHIP_BASE}:/root/chip -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule "c 189:* rmw" connectedhomeip/chip-build-telink:latest
18+
$ docker run -it --rm -v ${CHIP_BASE}:/root/chip -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule "c 189:* rmw" ghcr.io/project-chip/chip-build-telink:1
1919
```
2020

2121
here `${CHIP_BASE}` is directory which contains CHIP repo files **!!!Pay

integrations/docker/images/stage-1/chip-build-crosscompile/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VERSION=latest
1+
ARG VERSION=1
22
FROM ghcr.io/project-chip/chip-build:${VERSION} as build
33
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip
44

integrations/docker/images/stage-2/chip-build-ameba/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VERSION=latest
1+
ARG VERSION=1
22
FROM ghcr.io/project-chip/chip-build:${VERSION}
33
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip
44

integrations/docker/images/stage-2/chip-build-asr/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VERSION=latest
1+
ARG VERSION=1
22
FROM ghcr.io/project-chip/chip-build:${VERSION}
33
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip
44

integrations/docker/images/stage-2/chip-build-bouffalolab/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VERSION=latest
1+
ARG VERSION=1
22
FROM ghcr.io/project-chip/chip-build:${VERSION}
33
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip
44

integrations/docker/images/stage-2/chip-build-efr32/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VERSION=latest
1+
ARG VERSION=1
22
FROM ghcr.io/project-chip/chip-build:${VERSION}
33
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip
44

integrations/docker/images/stage-2/chip-build-esp32/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VERSION=latest
1+
ARG VERSION=1
22
FROM ghcr.io/project-chip/chip-build:${VERSION} as build
33
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip
44

integrations/docker/images/stage-2/chip-build-imx/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VERSION=latest
1+
ARG VERSION=1
22
FROM ghcr.io/project-chip/chip-build:${VERSION} as build
33
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip
44

integrations/docker/images/stage-2/chip-build-infineon/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VERSION=latest
1+
ARG VERSION=1
22
FROM ghcr.io/project-chip/chip-build:${VERSION}
33
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip
44

integrations/docker/images/stage-2/chip-build-java/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VERSION=latest
1+
ARG VERSION=1
22
FROM ghcr.io/project-chip/chip-build:${VERSION}
33
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip
44

integrations/docker/images/stage-2/chip-build-k32w/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VERSION=latest
1+
ARG VERSION=1
22
FROM ghcr.io/project-chip/chip-build:${VERSION} as build
33
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip
44

integrations/docker/images/stage-2/chip-build-mbed-os/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VERSION=latest
1+
ARG VERSION=1
22
FROM ghcr.io/project-chip/chip-build:${VERSION} as build
33
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip
44

integrations/docker/images/stage-2/chip-build-nrf-platform/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VERSION=latest
1+
ARG VERSION=1
22

33
# ==================================================
44
# Temporary image for SDK and dependencies download

integrations/docker/images/stage-2/chip-build-openiotsdk/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VERSION=latest
1+
ARG VERSION=1
22
FROM ghcr.io/project-chip/chip-build:${VERSION} as build
33
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip
44

integrations/docker/images/stage-2/chip-build-telink/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VERSION=latest
1+
ARG VERSION=1
22
FROM ghcr.io/project-chip/chip-build:${VERSION} as build
33
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip
44

integrations/docker/images/stage-2/chip-build-ti/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VERSION=latest
1+
ARG VERSION=1
22
FROM ghcr.io/project-chip/chip-build:${VERSION}
33
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip
44

integrations/docker/images/stage-2/chip-build-tizen/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VERSION=latest
1+
ARG VERSION=1
22
FROM ghcr.io/project-chip/chip-build:${VERSION}
33
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip
44

integrations/docker/images/stage-3/chip-build-android/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VERSION=latest
1+
ARG VERSION=1
22
FROM ghcr.io/project-chip/chip-build-java:${VERSION}
33
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip
44

integrations/docker/images/stage-3/chip-build-esp32-qemu/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VERSION=latest
1+
ARG VERSION=1
22
FROM ghcr.io/project-chip/chip-build-esp32:${VERSION}
33
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip
44

integrations/docker/images/stage-3/chip-build-tizen-qemu/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VERSION=latest
1+
ARG VERSION=1
22
FROM ghcr.io/project-chip/chip-build-tizen:${VERSION}
33
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip
44

integrations/docker/images/vscode/chip-build-vscode/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VERSION=latest
1+
ARG VERSION=1
22

33
FROM ghcr.io/project-chip/chip-build-nrf-platform:${VERSION} AS nrf
44
FROM ghcr.io/project-chip/chip-build-efr32:${VERSION} AS efr32

scripts/helpers/roll_docker_version.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ echo "Rolling VSCode container"
5656
sed -r -i "s|matter-dev-environment:local --version [0-9,a-z,A-Z,-]*|matter-dev-environment:local --version $NEXT_VERSION|" .devcontainer/devcontainer.json
5757

5858
echo "Rolling docker images"
59-
find . -iname readme.md -not -path "./third_party/*" | xargs sed -r -i "s|ARG VERSION=[0-9,a-z,A-Z,-]*|ARG VERSION=$NEXT_VERSION|"
59+
find . -iname Dockerfile -not -path "./third_party/*" | xargs sed -r -i "s|ARG VERSION=[0-9,a-z,A-Z,-]*|ARG VERSION=$NEXT_VERSION|"
6060

6161
echo "Rolling main docker version"
6262
echo "$NEXT_VERSION : $ROLL_REASON" >./integrations/docker/images/base/chip-build/version

third_party/silabs/gecko_sdk

Submodule gecko_sdk updated 19375 files

0 commit comments

Comments
 (0)