Skip to content

Commit

Permalink
test: depot path mount
Browse files Browse the repository at this point in the history
  • Loading branch information
tdivoll committed Jul 29, 2024
1 parent e4a5efc commit ca33a13
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ebseg/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ENV TERM=xterm
ENV JULIA_PROJECT=/opt/ice-floe-tracker-pipeline
ENV JULIA_DEPOT_PATH=/opt/julia
ENV JULIA_PKGDIR=/opt/julia
ENV JULIA_BUILD_PYCALL='ENV["PYTHON"]=""; using Pkg; Pkg.build()'
ENV JULIA_BUILD_PYCALL='ENV["PYTHON"]=""; using Pkg; Pkg.build(); Pkg.instantiate()'
ENV EBSEG_REPO='https://github.com/WilhelmusLab/ebseg.git'
ENV IFTPIPELINE_REPO='https://github.com/WilhelmusLab/ice-floe-tracker-pipeline.git'
ENV LOCAL_PATH_TO_IFT_CLI='/usr/local/bin/ice-floe-tracker.jl'
Expand Down Expand Up @@ -47,11 +47,10 @@ WORKDIR /opt
#===========================================
RUN git clone --single-branch --branch main --depth 1 ${IFTPIPELINE_REPO}
RUN julia --project=${JULIA_PROJECT} -e ${JULIA_BUILD_PYCALL}
RUN julia -e 'using Pkg; Pkg.instantiate()'

# Final setup
#===========================================
COPY ../workflow/scripts/ice-floe-tracker.jl ${LOCAL_PATH_TO_IFT_CLI}
RUN chmod a+x ${LOCAL_PATH_TO_IFT_CLI}
ENV JULIA_DEPOT_PATH="/home/.julia:$JULIA_DEPOT_PATH"
ENV JULIA_DEPOT_PATH="/usr/local/bin/julia:$JULIA_DEPOT_PATH"
CMD ["/bin/bash"]

0 comments on commit ca33a13

Please sign in to comment.