Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
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
pubgeo authored Jan 19, 2018
1 parent 6c8ba96 commit 7a2475f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
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\
Expand Down Expand Up @@ -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
Expand All @@ -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)

0 comments on commit 7a2475f

Please sign in to comment.