Skip to content

Commit

Permalink
Add NXP imx Docker image support for vscode image
Browse files Browse the repository at this point in the history
Signed-off-by: Haoran.Wang <elven.wang@nxp.com>
  • Loading branch information
TE-N-ElvenWang committed Jan 18, 2022
1 parent a7f78c2 commit 7d3671d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,5 @@ RUN chown -R $USERNAME:$USERNAME /opt/ameba/ambd_sdk_with_chip_non_NDA/

# NXP uses a patch_sdk script to change SDK files
RUN chown -R $USERNAME:$USERNAME /opt/sdk/sdks/

RUN chown -R $USERNAME:$USERNAME /opt/fsl-imx-xwayland/5.10-hardknott/
5 changes: 5 additions & 0 deletions integrations/docker/images/chip-build-vscode/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ FROM connectedhomeip/chip-build-tizen:${VERSION} AS tizen
FROM connectedhomeip/chip-build-crosscompile:${VERSION} AS crosscompile
FROM connectedhomeip/chip-build-ameba:${VERSION} AS ameba
FROM connectedhomeip/chip-build-k32w:${VERSION} AS k32w
FROM connectedhomeip/chip-build-imx:${VERSION} AS imx
FROM connectedhomeip/chip-build:${VERSION}

# qemu-src copied over because qemu directory contains symlinks to the src
Expand Down Expand Up @@ -40,6 +41,9 @@ COPY --from=ameba /opt/ameba /opt/ameba

COPY --from=k32w /opt/sdk/sdks /opt/sdk/sdks

COPY --from=imx /opt/fsl-imx-xwayland /opt/fsl-imx-xwayland


# Android license file "acceping" is done by writing license hashes
# into the 'licenses' subfolder. This allows any user (in particular
# 'vscode' to accept licenses)
Expand Down Expand Up @@ -67,3 +71,4 @@ ENV TIZEN_HOME /opt/tizen_sdk
ENV SYSROOT_AARCH64=/opt/ubuntu-21.04-aarch64-sysroot
ENV AMEBA_PATH=/opt/ameba/ambd_sdk_with_chip_non_NDA
ENV NXP_K32W061_SDK_ROOT=/opt/sdk/sdks
ENV IMX_SDK_ROOT=/opt/fsl-imx-xwayland/5.10-hardknott/

0 comments on commit 7d3671d

Please sign in to comment.