Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Fix OpenSUSE docker build #1204

Merged
merged 1 commit into from
May 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions packager/testing/dockers/OpenSUSE_Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
# Older versions of OpenSUSE (like leap 15) have compilers too old for C++17.
# Tumbleweed is a rolling release system, but that's our only option now.
FROM opensuse/tumbleweed:latest
FROM opensuse/leap:15.5

# Install utilities, libraries, and dev tools.
RUN zypper in -y \
curl which \
c-ares-devel \
cmake gcc-c++ git python3
cmake gcc9-c++ git python3

# 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

# Build and run this docker by mapping shaka-packager with
# -v "shaka-packager:/shaka-packager".
Loading