Skip to content

Commit bb94bec

Browse files
author
david.fischak@eodc.eu
committed
Package installation as non-root
1 parent 5c91fa6 commit bb94bec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel-julia/container/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ RUN mamba install --yes --verbose --file /tmp/conda-deps-sys.yaml && \
2525
#RUN julia /tmp/julia-packages.jl
2626

2727
ADD jupyter_enterprise_gateway_kernel_image_files_docker-julia.tar.gz /usr/local/bin/
28+
RUN julia --eval "import Pkg; using IJulia; Pkg.update(); ENV[\"IJULIA_DEBUG\"]=true; Pkg.build(\"IJulia\"); Pkg.add([\"DataStructures\"]); Pkg.precompile()"
2829

2930
USER root
3031

@@ -34,7 +35,6 @@ RUN apt-get update && \
3435
apt-get autoclean --yes && \
3536
rm --force --recursive /var/lib/apt/lists/*
3637

37-
RUN julia --eval "import Pkg; using IJulia; Pkg.update(); ENV[\"IJULIA_DEBUG\"]=true; Pkg.build(\"IJulia\"); Pkg.add([\"DataStructures\"]); Pkg.precompile()"
3838

3939
#RUN julia --eval 'using Pkg; using IJulia; ENV["IJULIA_DEBUG"]=true; Pkg.build("IJulia")'
4040

0 commit comments

Comments
 (0)