Skip to content

Commit

Permalink
Downgrade Julia to v1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
cellgeni committed Mar 29, 2021
1 parent aed9651 commit 3d386b6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 3 additions & 4 deletions images/full/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM ${registry}:${parent_image}-${tag_name}

ARG tag_name
ARG image_name="full"
ARG julia_version="1.5.0"
ARG julia_version="1.0.5"

USER root

Expand Down Expand Up @@ -38,9 +38,8 @@ RUN mkdir /etc/julia && \
chown "${NB_USER}" "${JULIA_PKGDIR}" && \
fix-permissions "${JULIA_PKGDIR}"

COPY install.jl /tmp/install.jl
RUN julia -e "include(\"/tmp/install.jl\");"

RUN julia -e "using Pkg; Pkg.update(); Pkg.add(\"IJulia\")" && \
julia -e "using IJulia"

# move kernelspec out of home to the system share location \
RUN mv "${HOME}/.local/share/jupyter/kernels/julia"* "${CONDA_DIR}/share/jupyter/kernels/" && \
Expand Down
5 changes: 4 additions & 1 deletion images/teichlab/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ ARG registry="quay.io/cellgeni/jupyter"

FROM $registry:$parent_image-$tag_name

ARG tag_name
ARG image_name="teichlab"

USER root

# general OS packages
Expand Down Expand Up @@ -33,7 +36,7 @@ RUN fix-permissions $CONDA_DIR && \
fix-permissions /usr/lib/R/ && \
fix-permissions /usr/local/lib/R/site-library

RUN echo "$image_name=$tag_name" >> /sanger/image.info && \
RUN echo "$image_name=$tag_name" > /sanger/image.info && \
conda list > /sanger/conda.info && \
Rscript -e "as.data.frame(installed.packages()[,c(1,3:4)])[,1:2,drop=FALSE]" > /sanger/r-packages.info

0 comments on commit 3d386b6

Please sign in to comment.