diff --git a/.github/workflows/build_docker_images_for_ci.yml b/.github/workflows/build_docker_images_for_ci.yml index 24872a1a4514..e2aa37a4473c 100644 --- a/.github/workflows/build_docker_images_for_ci.yml +++ b/.github/workflows/build_docker_images_for_ci.yml @@ -46,13 +46,13 @@ jobs: # only push the new image when the changes are merged to master run: docker push kratosmultiphysics/kratos-image-ci-ubuntu-22-04 - build-docker-centos: + build-docker-rocky: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Build the Docker image - run: docker build . --file scripts/docker_files/docker_file_ci_centos_7/DockerFile --tag kratosmultiphysics/kratos-image-ci-centos7 + run: docker build . --file scripts/docker_files/docker_file_ci_rockylinux8/DockerFile --tag kratosmultiphysics/kratos-image-ci-rocky8 - name: Docker Login uses: azure/docker-login@v2 with: @@ -61,4 +61,4 @@ jobs: - name: Publish the Docker image if: ${{ github.event_name == 'push'}} # only push the new image when the changes are merged to master - run: docker push kratosmultiphysics/kratos-image-ci-centos7 + run: docker push kratosmultiphysics/kratos-image-ci-rocky8 diff --git a/scripts/docker_files/docker_file_ci_rockylinux8/Dockerfile b/scripts/docker_files/docker_file_ci_rockylinux8/DockerFile similarity index 79% rename from scripts/docker_files/docker_file_ci_rockylinux8/Dockerfile rename to scripts/docker_files/docker_file_ci_rockylinux8/DockerFile index e77ab6dce14c..0b3d4a1c58db 100644 --- a/scripts/docker_files/docker_file_ci_rockylinux8/Dockerfile +++ b/scripts/docker_files/docker_file_ci_rockylinux8/DockerFile @@ -4,7 +4,7 @@ USER root ENV HOME /root -# install python3.8.10 +# Install python3.8.10 RUN dnf update -y && \ dnf groupinstall "Development Tools" -y && \ dnf install -y wget openssl-devel bzip2-devel libffi-devel && \ @@ -20,7 +20,7 @@ ENV PYTHON_EXECUTABLE /usr/local/bin/python3.8 RUN python3.8 -m pip install numpy sympy scipy parameterized -# install build utils +# Install build utils RUN dnf update -y && dnf install -y \ --enablerepo=devel ninja-build \ cmake \ @@ -28,6 +28,11 @@ RUN dnf update -y && dnf install -y \ --enablerepo=devel blas-devel \ --enablerepo=devel lapack-devel +# Install Boost libraries +RUN dnf update -y && dnf install -y \ + boost-devel \ + boost-static + CMD [ "/bin/bash" ] -WORKDIR $HOME +WORKDIR $HOME \ No newline at end of file