Skip to content

Commit

Permalink
Simplify Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jheinen committed Oct 17, 2024
1 parent ae999fb commit d0201c3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,11 @@ COPY examples/*.ipynb work/
COPY examples/snoop.jl work/
COPY scripts/docker-xvfb-run /usr/bin/xvfb-run
# Julia packages
RUN julia -E 'using Pkg; pkg"add GR IJulia PackageCompiler CSV HTTP JSON"' && \
RUN julia -E 'using Pkg; pkg"add GR IJulia PackageCompiler"' && \
# precompile Julia packages \
julia -e 'using GR' && \
julia -e 'using IJulia' && \
julia -e 'using PackageCompiler' && \
julia -e 'using CSV' && \
julia -e 'import HTTP' && \
julia -e 'import JSON' && \
# move kernelspec out of home \
mv ${HOME}/.local/share/jupyter/kernels/julia* ${CONDA_DIR}/share/jupyter/kernels/ && \
chmod -R go+rx ${CONDA_DIR}/share/jupyter && \
Expand Down

0 comments on commit d0201c3

Please sign in to comment.