You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ARG RENKU_BASE_IMAGE=renku/renkulab-batch
FROM ${RENKU_BASE_IMAGE}
# Uncomment and adapt if code is to be included in the image# COPY src /code/src# Uncomment and adapt if your R or python packages require extra linux (ubuntu) software# e.g. the following installs apt-utils and vim; each pkg on its own line, all lines# except for the last end with backslash '\' to continue the RUN line## USER root# RUN apt-get update && \# apt-get install -y --no-install-recommends \# apt-utils \# vim# USER ${NB_USER}# install the python dependenciesCOPY requirements.txt /tmp/
RUN pip install -r /tmp/requirements.txt
# RENKU_VERSION determines the version of the renku CLI# that will be used in this image. To find the latest version,# visit https://pypi.org/project/renku/#history.ARG RENKU_VERSION=0.15.1
######################################################### Do not edit this section and do not add anything belowRUN if [ -n "$RENKU_VERSION" ] ; then \
pipx uninstall renku && \
pipx install --force renku==${RENKU_VERSION} \
; fi
########################################################
For batch execution described in SwissDataScienceCenter/renku/issues/1929, we suggest to create a new template.
Compare to the original template, this one:
Dockerfile.batch
- based on a batch version image Add batch version image renkulab-docker#172environment.yml
- not to use conda for dependencies.gitlab-ci.yml
to build and push the batch image automaticallySuch template can be useful for batch execution with commands proposed in SwissDataScienceCenter/renku-python/issues/2213
Dockerfile.batch
, for example:Extra job in
.gitlab-ci.yml
, for example:The text was updated successfully, but these errors were encountered: