mirror of
https://github.com/MillironX/docker-BioJulia.git
synced 2024-11-23 23:29:55 +00:00
Add Dockerfile
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
parent
5590383342
commit
5369281dbb
1 changed files with 20 additions and 0 deletions
20
Dockerfile
Normal file
20
Dockerfile
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
FROM julia:1.6.5-bullseye
|
||||||
|
|
||||||
|
ENV JULIA_DEPOT_PATH="/usr/local/share/julia"
|
||||||
|
|
||||||
|
RUN \
|
||||||
|
apt-get update && \
|
||||||
|
apt-get install -y --no-install-recommends procps && \
|
||||||
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
|
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false
|
||||||
|
|
||||||
|
COPY Project.toml /
|
||||||
|
COPY Manifest.toml /
|
||||||
|
|
||||||
|
RUN julia -e 'using Pkg; Pkg.instantiate()'
|
||||||
|
RUN julia --project=/ -e 'using Pkg; Pkg.instantiate()'
|
||||||
|
RUN \
|
||||||
|
mv /Project.toml ${JULIA_DEPOT_PATH}/environments/v1.6/ && \
|
||||||
|
mv /Manifest.toml ${JULIA_DEPOT_PATH}/environments/v1.6/
|
||||||
|
|
||||||
|
CMD [ "julia" ]
|
Loading…
Reference in a new issue