Coder Social home page Coder Social logo

Comments (7)

dlebauer avatar dlebauer commented on August 21, 2024

A few thoughts:

  • Use a versioned image?
  • rocker provides scripts install2.r and installGithub.r that simplifies installation of R packages. So an alternative for installing the R packages might be:
FROM rocker/rstudio:3.6.3
MAINTAINER="Chris Schnaufer <[email protected]>"

RUN apt-get update && apt-get install -y --no-install-recommends \
    libxml2-dev 
    zlib1g-dev 
    libfftw3-dev 
    gdal-bin 
    libgdal-dev 
    libxt-dev

RUN install2.r --error \
    sp
    raster
    rgdal
    scales
    xml2
    git2r
    usethis
    fftwtools
    devtools

RUN installGithub.r filipematias23/FIELDimageR

In addition, If you start from rocker/geospatial you get a lot of these dependencies already built in (including tidyverse and a lot of geospatial utilities - not just those required by FieldImageR but some that could be useful for running downstream analyses, as well as a lot of bloat!!)

from fieldimager.

filipematias23 avatar filipematias23 commented on August 21, 2024

Thank you for sharing ..!!!

from fieldimager.

Chris-Schnaufer avatar Chris-Schnaufer commented on August 21, 2024

I have updated the Dockerfile to take advantage of suggested installation changes.

I am putting the suggested additions for downstream analysis into another issue: #9

from fieldimager.

Chris-Schnaufer avatar Chris-Schnaufer commented on August 21, 2024

Linking to #10

from fieldimager.

dlebauer avatar dlebauer commented on August 21, 2024

this can be closed since #10 has been merged and suggestions for improvement are in #9

from fieldimager.

filipematias23 avatar filipematias23 commented on August 21, 2024

Hi @Chris-Schnaufer and @dlebauer,
Thank you a lot for helping with this project.
I am wondering what is the next step? How can I integrate your suggestions (#9 and #10) to the tutorial?

All the best,
Filipe

from fieldimager.

Chris-Schnaufer avatar Chris-Schnaufer commented on August 21, 2024

I am wondering what is the next step? How can I integrate your suggestions (#9 and #10) to the tutorial?

I think the next step as described in #9 would be to determine if those are changes that are desired and, if so, update the Dockerfile to use the new base image. I don't know who would be best suited to determine if those changes are desired

from fieldimager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.