1
0
forked from eoeair/cenv
cenv/Program/julia/Dockerfile

14 lines
467 B
Docker
Raw Permalink Normal View History

FROM eoelab.org:1027/ben0i0d/cenv:python AS builder
# install Julia packages in /opt/julias
2024-12-05 22:51:34 +08:00
RUN apt-get update --yes && apt-get install --yes --no-install-recommends gnupg && \
pip install jill && jill install --confirm 1
FROM eoelab.org:1027/ben0i0d/cenv:base
COPY --from=builder /opt/julias/ /opt/julias/
ENV JULIA_PKG_SERVER=https://mirrors.ustc.edu.cn/julia \
JULIA_NUM_THREADS=8
RUN ln -s "`find /opt/julias -name 'bin'`/julia" /usr/local/bin/julia