Skip to content

Commit

Permalink
Update Dockerfile_ubuntu
Browse files Browse the repository at this point in the history
Revert CPU_CORES change as ENV cannot be dynamically set based on a script.
  • Loading branch information
c-ewing authored Dec 4, 2024
1 parent 9a6403e commit d3aa324
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile_ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ WORKDIR "${AV_BUILD}"

COPY docker ${AV_DEV}/docker

ENV CPU_CORES=`${AV_DEV}/docker/check-cpu.sh`
RUN cmake -DCMAKE_BUILD_TYPE=Release \
RUN export CPU_CORES=`${AV_DEV}/docker/check-cpu.sh`; \
cmake -DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DTARGET_ARCHITECTURE=${TARGET_ARCHITECTURE} \
-DALICEVISION_BUILD_DEPENDENCIES:BOOL=OFF \
Expand Down

0 comments on commit d3aa324

Please sign in to comment.