Skip to content

Commit

Permalink
Don't install multiple language for local testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubno committed Sep 17, 2024
1 parent f095a72 commit 00084a7
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions template/test.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,6 @@ ENV PIP_DEFAULT_TIMEOUT=100 \
COPY ./requirements.txt requirements.txt
RUN pip install --no-cache-dir -r requirements.txt && ipython kernel install --name "python3" --user

# R Kernel
RUN apt-get update && apt-get install -y r-base
RUN R -e "install.packages('IRkernel')"
RUN R -e "IRkernel::installspec(user = FALSE, name = 'r', displayname = 'R')"

# Java Kernel
RUN wget https://github.com/SpencerPark/IJava/releases/download/v1.3.0/ijava-1.3.0.zip && \
unzip ijava-1.3.0.zip && \
python install.py --sys-prefix

# Javascript Kernel
RUN npm install -g node-gyp
RUN npm install -g --unsafe-perm ijavascript
RUN ijsinstall --install=global

# Bash Kernel
RUN pip install bash_kernel
RUN python -m bash_kernel.install

# Create separate virtual environment for server
RUN python -m venv $SERVER_PATH/.venv

Expand Down

0 comments on commit 00084a7

Please sign in to comment.