Skip to content

Commit 322403f

Browse files
committed
Build nbody sample using the cuda 'devel' image
The 'devel' image contains the CUDA compile, nvcc, which is needed to build the nbody samples. Without the CUDA compiler, the nbody sample containers fail to build with the below error message: ''' ''' Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com>
1 parent 80489a3 commit 322403f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deployments/container/nbody/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM nvcr.io/nvidia/cuda:12.9.1-base-ubuntu22.04 AS builder
15+
FROM nvcr.io/nvidia/cuda:12.9.1-devel-ubuntu22.04 AS builder
1616

1717
ARG SAMPLE_NAME=nbody
1818
ENV SAMPLE_NAME=${SAMPLE_NAME}

0 commit comments

Comments
 (0)