2023-12-01 17:32:19 +00:00
|
|
|
FROM opensuse/leap:15.5
|
2017-12-07 22:41:14 +00:00
|
|
|
|
2021-10-13 18:00:37 +00:00
|
|
|
# Install utilities, libraries, and dev tools.
|
|
|
|
RUN zypper in -y \
|
|
|
|
curl which \
|
2023-12-01 17:32:19 +00:00
|
|
|
cmake gcc9-c++ git ninja python3
|
2017-12-07 22:41:14 +00:00
|
|
|
|
2023-12-01 17:32:19 +00:00
|
|
|
# OpenSuse 15 doesn't have the required gcc 9+ by default, but we can install
|
|
|
|
# it as gcc9 and symlink it.
|
|
|
|
RUN ln -s g++-9 /usr/bin/g++
|
|
|
|
RUN ln -s gcc-9 /usr/bin/gcc
|
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".
|