Dockerfile.aarch64 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Copyright (c) Contributors to the Open 3D Engine Project.
  2. # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  3. #
  4. # SPDX-License-Identifier: Apache-2.0 OR MIT
  5. #
  6. FROM arm64v8/ubuntu:20.04
  7. WORKDIR /data/workspace
  8. ARG DOCKER_BUILD_SCRIPT
  9. # Initilize apt cache
  10. RUN apt-get clean && apt-get update
  11. # Install the development packages needed to build Qt from source
  12. RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y git \
  13. build-essential \
  14. cmake \
  15. ninja-build \
  16. clang
  17. RUN apt upgrade -y
  18. # Use the sse2neon header to provide a translation between sse to neon for arm processing
  19. RUN git clone https://github.com/DLTcollab/sse2neon.git /data/workspace/sse2neon && \
  20. git -C /data/workspace/sse2neon checkout v1.6.0
  21. # Prepare a target folder within the container to install the build artifacts tp
  22. RUN mkdir -p /data/workspace/build && \
  23. mkdir -p /data/workspace/src
  24. ARG CACHEBUST=1
  25. # Copy the build script specific to this Docker script in order to execute the build
  26. COPY ${DOCKER_BUILD_SCRIPT} /data/workspace/
  27. COPY src /data/workspace/src/