2023-07-17 18:10:28 +00:00
|
|
|
FROM tgagor/centos:stream9
|
2022-03-09 00:46:18 +00:00
|
|
|
|
2023-07-17 20:16:03 +00:00
|
|
|
# For CentOS, Ninja is only available from the "CRB" ("Code Ready Builder")
|
|
|
|
# repo. Enable that first.
|
2023-08-22 01:41:18 +00:00
|
|
|
RUN dnf update -y
|
2023-07-17 20:16:03 +00:00
|
|
|
RUN dnf install -y yum-utils
|
|
|
|
RUN dnf config-manager --set-enabled crb
|
|
|
|
|
2021-10-13 18:00:37 +00:00
|
|
|
# Install utilities, libraries, and dev tools.
|
|
|
|
RUN yum install -y \
|
|
|
|
which \
|
2021-10-12 21:55:13 +00:00
|
|
|
c-ares-devel libatomic \
|
2023-07-17 20:16:03 +00:00
|
|
|
cmake gcc-c++ git ninja-build python3
|
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".
|