Closed kafisatz closed 1 year ago
Ok. It seems this issue arises when the Module that I use, has dependencies which are not registered.
I think there is no need to add Jot
to my module.
But my original question remains open, as I am actually using other unregistered packages for my module
An easy fix for my issue was to add one 'RUN' command to the Dockerfile (to explicitly install the package from the ULR) as follows:
function dockerfile_add_runtime_directories()::String
pushover_url = "https://github.com/kafisatz/Pushover.jl#master"
"""
RUN mkdir -p $julia_depot_path
ENV JULIA_DEPOT_PATH=$julia_depot_path
RUN mkdir -p $temp_path
ENV TMPDIR=$temp_path
RUN mkdir -p $runtime_path
WORKDIR $runtime_path
RUN julia -e "import Pkg; Pkg.add(url=\\\"$pushover_url\\\")"
"""
end
Any ideas why I would run into the error below? I am on Windows, but I don't think the error is related to the OS.