Skip to content

Commit 4454ef7

Browse files
authored
Update Dockerfile
1 parent 443ad0b commit 4454ef7

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

Dockerfile

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -112,16 +112,5 @@ RUN R -e "install.packages('geotargets', repos = c('https://ropensci.r-universe.
112112
RUN R -e "install.packages('https://gitlab.rrz.uni-hamburg.de/helgejentsch/climdatdownloadr/-/archive/master/climdatdownloadr-master.tar.gz', repos = NULL, type = 'source')"
113113
RUN R -e "webshot::install_phantomjs()" # to make pngs from html output
114114
RUN R -e "devtools::install_github('JoshOBrien/gdalUtilities')"
115-
RUN which python3 #report on current location
116-
RUN R -e "reticulate::use_python('/usr/bin/python3') \ # set up rgee
117-
reticulate::py_discover_config() \ # print current status
118-
reticulate::py_config() \ # see the name of your conda (python) environment, in my case 'r-reticulate'
119-
reticulate::py_install('earthengine-api', envname='r-reticulate') \ #==0.1.370
120-
# Check the installation of 'earthengine-api' with
121-
reticulate::py_list_packages() \
122-
reticulate::py_list_packages()[reticulate::py_list_packages()$package == 'earthengine-api', ] \
123-
# check python version with
124-
reticulate::py_run_string('import sys; print(sys.version)') \
125-
rgee::ee_install_set_pyenv('/usr/bin/python3','r-reticulate', confirm = F) \
126-
devtools::install_github(repo = 'bmaitner/rgee', ref = 'noninteractive_auth')"
115+
RUN R -e "source(rgee_setup.R)"
127116
#RUN R -e "reticulate::py_install(packages = c(sprintf('earthengine-api==%s',rgee::ee_version())), envname = Sys.getenv('EARTHENGINE_ENV'))" # rgee::ee_install_upgrade() without menu

0 commit comments

Comments
 (0)