Skip to content

Dockerize #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM nvidia/cuda:12.6.0-cudnn-devel-ubuntu22.04

LABEL name="PoissonRecon_GPU" maintainer="Causality-C"

# update package lists and install git, wget, vim, libegl1-mesa-dev, and libglib2.0-0
RUN apt-get update && apt-get install -y build-essential git wget vim libegl1-mesa-dev libglib2.0-0 unzip git tree cmake

WORKDIR /workspace
COPY . .
RUN mkdir build && cd build && cmake ..

4 changes: 2 additions & 2 deletions main.cu
Original file line number Diff line number Diff line change
Expand Up @@ -3248,8 +3248,8 @@ int main() {
// char fileName[]="/home/davidxu/horse.npts";
// char outName[]="/home/davidxu/horse.ply";

char fileName[]="/home/davidxu/bunny.points.ply";
char outName[]="/home/davidxu/bunny.ply";
char fileName[]="/workspace/bunny.points.ply";
char outName[]="/workspace/bunny.ply";

// char fileName[]="/home/davidxu/eagle.points.ply";
// char outName[]="/home/davidxu/eagle.ply";
Expand Down