There was an error while loading. Please reload this page.
1 parent f6ea306 commit a975133Copy full SHA for a975133
1 file changed
src/engines/ruby/4.0/Dockerfile.centos.clang
@@ -1,10 +1,10 @@
1
FROM ghcr.io/datadog/images-rb/engines/ruby:4.0-centos
2
3
RUN yum install -y epel-release \
4
- && yum install -y gcc clang make binutils file patch pkgconfig mariadb-devel postgresql-devel sqlite-devel \
+ && yum install -y devtoolset-10-gcc clang make binutils file patch pkgconfig mariadb-devel postgresql-devel sqlite-devel \
5
&& printf '%s\n' \
6
'#!/bin/bash' \
7
- 'gcc_dir="$(dirname "$(/usr/bin/gcc -print-file-name=crtbegin.o)")"' \
+ 'gcc_dir="$(dirname "$(/opt/rh/devtoolset-10/root/usr/bin/gcc -print-file-name=crtbegin.o)")"' \
8
'args=()' \
9
'for arg in "$@"; do' \
10
' if [[ "$arg" != "-fstack-protector-strong" && "$arg" != "-mbranch-protection=pac-ret" ]]; then' \
0 commit comments