Skip to content

Commit f20f017

Browse files
hc2pchudyandrej
authored andcommitted
Fix passing around args
1 parent 0beaf08 commit f20f017

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

ir/Dockerfile.ir

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
# Define build arguments for Python and R versions
22
ARG PYTHON_VERSION=3.9
3-
ARG R_VERSION=4.4.0
4-
53
# Use the specified Python version as the base image
64
FROM 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
109
ENV 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
3534
RUN apt-get clean && \
36-
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
35+
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

0 commit comments

Comments
 (0)