2023-05-02 03:03:18 +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 \
|
2021-10-12 21:55:13 +00:00
|
|
|
c-ares-devel \
|
2023-07-17 20:16:03 +00:00
|
|
|
cmake gcc9-c++ git ninja python3
|
2023-05-02 03:03:18 +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".
|