-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I would like to create a docker image containing packages which I installed via GitHub - but I keep running into problems saying that the packages aren't found in the registry while building the image.
I'm running julia 1.5.3 on Windows 10 on a user with admin rights (I previously had issues with the registry due to not running as admin).
I'm using VSCode, also running as admin.
I get the following output:
=> ERROR [ 85/107] RUN cd /tmp; JULIA_DEBUG=all SIMPLECONTAINERGENERATOR_CONTAINER_NO_TEMP_DEPOT="true" /usr/bin/no_sysimage_julia /opt/simplecontainergener 12.5s
------
> [ 85/107] RUN cd /tmp; JULIA_DEBUG=all SIMPLECONTAINERGENERATOR_CONTAINER_NO_TEMP_DEPOT="true" /usr/bin/no_sysimage_julia /opt/simplecontainergenerator_containers/install_packages.jl:
#89 0.924 Installing known registries into `/opt/simplecontainergenerator_containers/julia_depot`
######################################################################## 100.0%
#89 8.210 Added registry `General` to `/opt/simplecontainergenerator_containers/julia_depot/registries/General`
#89 10.52 ERROR: LoadError: The following package names could not be resolved:
#89 11.44 * MS_Import (not found in project, manifest or registry)
#89 11.44 * SAFD (not found in project, manifest or registry)
#89 11.44
#89 11.44 Stacktrace:
#89 11.67 [1] pkgerror(::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Types.jl:52
#89 12.01 [2] ensure_resolved(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; registry::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Types.jl:837
#89 12.09 [3] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; preserve::Pkg.Types.PreserveLevel, platform::Pkg.BinaryPlatforms.Linux, kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:177
#89 12.14 [4] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:139#89 12.14 [5] #add#21 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:67 [inlined]
#89 12.15 [6] add(::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:67
#89 12.15 [7] top-level scope at /opt/simplecontainergenerator_containers/install_packages.jl:2
#89 12.15 [8] include(::Function, ::Module, ::String) at ./Base.jl:380
#89 12.15 [9] include(::Module, ::String) at ./Base.jl:368
#89 12.15 [10] exec_options(::Base.JLOptions) at ./client.jl:296
#89 12.15 [11] _start() at ./client.jl:506
#89 12.15 in expression starting at /opt/simplecontainergenerator_containers/install_packages.jl:2
------
executor failed running [/bin/sh -c cd /tmp; JULIA_DEBUG=all SIMPLECONTAINERGENERATOR_CONTAINER_NO_TEMP_DEPOT="true" /usr/bin/no_sysimage_julia /opt/simplecontainergenerator_containers/install_packages.jl]: exit code: 1
ERROR: failed process: Process(`docker build --no-cache -t hechth/safd:generated-0 .`, ProcessExited(1)) [1]
Stacktrace:
[1] pipeline_error at .\process.jl:525 [inlined]
[2] run(::Cmd; wait::Bool) at .\process.jl:440
[3] run(::Cmd) at .\process.jl:438
[4] top-level scope at REPL[9]:1
If you need any more details let me know!
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working