Skip to content

Commit

Permalink
#32: try a fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tlamonthezie committed Jul 18, 2024
1 parent 33b5c9d commit b31282a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ci/docker/ubuntu22.04-gcc11-vtk9.2.2.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ ARG BASE=ubuntu:22.04
ARG CC=gcc-11
ARG CXX=g++-11
ARG VTK_TAG=v9.2.2
ARG VTK_DIR=/opt/build/vtk-build
ARG PYTHON=3.8

# Base image & requirements
FROM ${BASE} AS base

ARG CC CXX VTK_TAG VTK_DIR PYTHON

ENV DEBIAN_FRONTEND=noninteractive
ENV VTK_DIR=/opt/build/vtk-build

RUN apt-get update -y -q && \
apt-get install -y -q --no-install-recommends \
Expand Down Expand Up @@ -93,15 +94,13 @@ RUN cmake \
-DVTK_Group_Rendering:BOOL=OFF \
-DBUILD_SHARED_LIBS:BOOL=ON \
-S /opt/src/vtk -B ${VTK_DIR}
RUN cmake --build ${VTK_DIR} -j\$(nproc)
RUN cmake --build ${VTK_DIR} -j$(nproc)

RUN echo "Base creation success"

# Build
FROM base AS build

ARG VTK_DIR

COPY . /opt/src/vt-tv
RUN mkdir -p /opt/build/vt-tv

Expand Down

0 comments on commit b31282a

Please sign in to comment.