21 lines
644 B
Docker
21 lines
644 B
Docker
FROM opensuse/leap:15.6
|
|
|
|
# A version field to invalidate Cirrus's build cache when needed, as suggested in
|
|
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
|
|
ENV DOCKERFILE_VERSION 20240524
|
|
|
|
RUN zypper addrepo https://download.opensuse.org/repositories/openSUSE:Leap:15.6:Update/standard/openSUSE:Leap:15.6:Update.repo \
|
|
&& zypper refresh \
|
|
&& zypper in -y \
|
|
bison \
|
|
cmake \
|
|
flex \
|
|
gcc10 \
|
|
gcc10-c++ \
|
|
git \
|
|
make \
|
|
&& rm -rf /var/cache/zypp
|
|
|
|
RUN update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-10 100
|
|
RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-10 100
|