Skip to content
This repository has been archived by the owner on Aug 17, 2022. It is now read-only.

Commit

Permalink
dockerfile and build container
Browse files Browse the repository at this point in the history
  • Loading branch information
erikarasnick committed Oct 17, 2019
1 parent 98fef05 commit 5f02c29
Show file tree
Hide file tree
Showing 4 changed files with 418 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
all_TIGER_roads_2018.gpkg
make_TIGER_S1200_2018_roads.sh
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM rocker/geospatial:3.6.0

LABEL maintainer="Cole Brokamp <[email protected]>"

RUN echo "options(repos = c(CRAN = 'https://cran.rstudio.com/'), prompt='R > ', download.file.method = 'libcurl')" > /.Rprofile

RUN R -e "devtools::install_version(package = 'argparser', version = '0.4', upgrade = FALSE, quiet = TRUE)"

RUN mkdir /app
COPY . /app

WORKDIR /tmp

ENTRYPOINT ["/app/_roadway_distance_and_length.R"]
Loading

0 comments on commit 5f02c29

Please sign in to comment.