diff --git a/.ci/docker/common/install_arm.sh b/.ci/docker/common/install_arm.sh new file mode 100644 index 00000000000..dec8a1693ee --- /dev/null +++ b/.ci/docker/common/install_arm.sh @@ -0,0 +1,18 @@ +#!/bin/bash +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# Copyright 2025 Arm Limited and/or its affiliates. +# +# This source code is licensed under the BSD-style license found in the +# LICENSE file in the root directory of this source tree. + +set -ex + +install_arm_prerequiresites() { + apt-get update -y + apt-get install -y --no-install-recommends \ + mesa-vulkan-drivers libvulkan1 + rm -rf /var/lib/apt/lists/* +} + +install_arm_prerequiresites diff --git a/.ci/docker/ubuntu/Dockerfile b/.ci/docker/ubuntu/Dockerfile index fddd7e6df36..9c57e5ee951 100644 --- a/.ci/docker/ubuntu/Dockerfile +++ b/.ci/docker/ubuntu/Dockerfile @@ -83,6 +83,9 @@ RUN if [ -n "${ANDROID_NDK_VERSION}" ]; then bash ./install_android.sh; fi RUN rm install_android.sh ARG ARM_SDK +COPY ./common/install_arm.sh install_arm.sh +RUN if [ -n "${ARM_SDK}" ]; then bash ./install_arm.sh; fi +RUN rm install_arm.sh ARG ZEPHYR_SDK COPY ./common/install_zephyr.sh install_zephyr.sh