2024-02-14 21:59:18 +00:00
|
|
|
FROM ubuntu:22.04
|
2023-12-01 17:32:19 +00:00
|
|
|
|
|
|
|
# Tell apt not to prompt us for anything.
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
2017-12-07 22:41:14 +00:00
|
|
|
|
2021-10-13 18:00:37 +00:00
|
|
|
# Install utilities, libraries, and dev tools.
|
|
|
|
RUN apt-get update && apt-get install -y apt-utils
|
|
|
|
RUN apt-get install -y \
|
|
|
|
curl \
|
2024-02-14 21:59:18 +00:00
|
|
|
build-essential git ninja-build python3 wget
|
|
|
|
|
|
|
|
# Install the official CMake repo to get CMake v3.24+:
|
|
|
|
ENV kitware_key_url https://apt.kitware.com/keys/kitware-archive-latest.asc
|
|
|
|
ENV kitware_key_path /usr/share/keyrings/kitware-archive-keyring.gpg
|
|
|
|
ENV kitware_sources_path /etc/apt/sources.list.d/kitware.list
|
|
|
|
ENV DISTRIB_CODENAME jammy
|
|
|
|
|
|
|
|
RUN wget -O - "$kitware_key_url" 2>/dev/null | gpg --dearmor - > "$kitware_key_path"
|
|
|
|
RUN echo "deb [signed-by=$kitware_key_path] https://apt.kitware.com/ubuntu/ $DISTRIB_CODENAME main" > "$kitware_sources_path"
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y cmake
|
2022-03-09 00:46:18 +00:00
|
|
|
|
2017-12-07 22:41:14 +00:00
|
|
|
# Build and run this docker by mapping shaka-packager with
|
|
|
|
# -v "shaka-packager:/shaka-packager".
|