File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -176,10 +176,10 @@ jobs:
176176 type : string
177177 environment :
178178 R_VERSION : << parameters.r-version >>
179+ PYTHON_VERSION : " 3.9"
179180 steps :
180181 - checkout
181182 - docker_login
182- - split_python_version # This provides PYTHON_VERSION
183183 - setup_buildkit_builder
184184 - run :
185185 name : Build and push python-conda image
Original file line number Diff line number Diff line change 11# Define build arguments for Python and R versions
22ARG PYTHON_VERSION=3.9
3- ARG R_VERSION=4.4.0
4-
53# Use the specified Python version as the base image
64FROM deepnote/python:${PYTHON_VERSION}
75
86# Set environment variables
7+ ARG R_VERSION=4.4.0
98# Use the R version specified by the build argument
109ENV R_VERSION="${R_VERSION}" \
1110 R_HOME="/usr/local/lib/R" \
@@ -27,10 +26,10 @@ RUN python -m venv jupyter-env && \
2726 pip install --upgrade pip notebook
2827
2928# Install IRkernel and configure it
30- RUN . ./jupyter-env/bin/activate && \
29+ RUN . ./jupyter-env/bin/activate && \
3130 R -e "install.packages('IRkernel', repos='http://cran.rstudio.com/')" && \
3231 R -e "IRkernel::installspec()"
3332
3433# Clean up unnecessary files to reduce the image size
3534RUN apt-get clean && \
36- rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
35+ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
You can’t perform that action at this time.
0 commit comments