Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions docker/images/centos-8streams.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ json-c-devel \
perf \
numactl

RUN dnf -y install gcc-toolset-12
RUN echo "source /opt/rh/gcc-toolset-12/enable" >> /etc/bashrc
SHELL ["/bin/bash", "--login", "-c"]

COPY ./install-cachelib-deps.sh ./install-cachelib-deps.sh
RUN ./install-cachelib-deps.sh

Expand Down
3 changes: 3 additions & 0 deletions docker/run-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ function sudo_password() {
cd ..
mkdir build
cd build

source /opt/rh/gcc-toolset-12/enable

cmake ../cachelib -DBUILD_TESTS=ON -DCMAKE_INSTALL_PREFIX=/opt -DCMAKE_BUILD_TYPE=Debug
sudo_password make install -j$(nproc)

Expand Down