forked from pubgeo/pubgeo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Had to switch to 17.10 in order for apt to pull without failure. ubuntu:latest does not have libpdal packages. Additionally added --rm flags to example docker run commands for those who don't use docker enough to know to clean up.
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ubuntu:17.04 | ||
FROM ubuntu:17.10 | ||
MAINTAINER JHUAPL <[email protected]> | ||
|
||
RUN apt update && apt upgrade -y && apt install -y --fix-missing --no-install-recommends\ | ||
|
@@ -28,8 +28,8 @@ RUN apt purge -y \ | |
cmake \ | ||
git | ||
CMD echo "Please run a valid executable:" && \ | ||
echo "docker run -v <path to 3D data>:<mount point (mp)> jhuapl/pubgeo ./shr3d <mount point>/<3D file> DH=2 DZ=1 AGL=2 AREA=50" && \ | ||
echo "docker run -v <path to point clouds (pc)>:<mount point (mp)> jhuapl/pubgeo ./align3d <mp>/<reference pc> <mp>/<target pc> gsd=1.0 maxt=10.0" | ||
echo "docker run --rm -v <path to 3D data>:<mount point (mp)> jhuapl/pubgeo ./shr3d <mount point>/<3D file> DH=2 DZ=1 AGL=2 AREA=50" && \ | ||
echo "docker run --rm -v <path to point clouds (pc)>:<mount point (mp)> jhuapl/pubgeo ./align3d <mp>/<reference pc> <mp>/<target pc> gsd=1.0 maxt=10.0" | ||
|
||
# Examples | ||
# docker run -v /home/ubuntu/pointclouds:pc jhuapl/pubgeo ./shr3d /pc/shr3dMe.las DH=2 DZ=1 AGL=2 AREA=50 | ||
|
@@ -38,4 +38,4 @@ CMD echo "Please run a valid executable:" && \ | |
# -t makes output go to terminal instantly (instead of bulk dump at end) | ||
# Data coming out will be in <path to 3D data> or <path to point cloud> | ||
# --rm will auto delete the container when complete (no need to take up disk space) | ||
# The files will be owned by root when they come out (known Docker behaviour) | ||
# The files will be owned by root when they come out (known Docker behaviour) |