Dockerfile 741 B

123456789101112131415161718
  1. # Copyright (C) 2019 Intel Corporation. All rights reserved.
  2. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  3. FROM ubuntu:18.04
  4. RUN apt update \
  5. && apt install -y apt-transport-https ca-certificates gnupg \
  6. software-properties-common wget lsb-release curl build-essential
  7. #
  8. # CMAKE (https://apt.kitware.com/)
  9. RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null \
  10. && apt purge --auto-remove cmake \
  11. && apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main' \
  12. && apt update \
  13. && apt-get install -y kitware-archive-keyring \
  14. && rm /etc/apt/trusted.gpg.d/kitware.gpg \
  15. && apt-get install -y cmake