Skip to content

Commit

Permalink
feat: update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cpaniaguam committed Aug 13, 2023
1 parent 9571a5c commit d17b6c8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@ ENV JULIA_PROJECT=/opt/ice-floe-tracker-pipeline
ENV JULIA_DEPOT_PATH=/opt/julia
ENV JULIA_PKGDIR=/opt/julia

# TODO: add versions python3-pyproj=3.6.0 python3-rasterio=1.3.7
RUN apt-get clean && apt-get update && \
apt-get install -y wget python3-pip git python3.10 && \
apt-get install -y wget python3.10 python3-pip git && \
apt-get install -y python3-pyproj python3-rasterio && \
rm -rf /var/lib/apt/list/*

WORKDIR /opt

RUN git clone https://github.com/WilhelmusLab/ice-floe-tracker-pipeline.git

RUN julia --project="/opt/ice-floe-tracker-pipeline" -e 'ENV["PYTHON"]=""; using Pkg; Pkg.instantiate(); Pkg.precompile(); Pkg.build("PyCall")'
RUN julia --project="/opt/ice-floe-tracker-pipeline" -e 'ENV["PYTHON"]="/usr/local/bin/python"; using Pkg; Pkg.instantiate(); Pkg.precompile(); Pkg.build("PyCall")'

RUN chmod a+x /opt/ice-floe-tracker-pipeline/workflow/scripts/ice-floe-tracker.jl

Expand Down

0 comments on commit d17b6c8

Please sign in to comment.