harris-chris / Jot.jl

Streamlines the creation and management of AWS Lambda functions written in Julia
MIT License
41 stars 6 forks source link

Dependency requires installing a bin file #34

Closed sklink closed 1 year ago

sklink commented 1 year ago

We're looking to add CPLEX as a dependency to our package which requires having IBM® ILOG® CPLEX® Optimization Studio installed.

From their installation instructions:

ENV["CPLEX_STUDIO_BINARIES"] = "/opt/CPLEX_Studio1210/cplex/bin/x86-64_linux/"
import Pkg
Pkg.add("CPLEX")
Pkg.build("CPLEX")

My understanding is that we'll need to modify the generated Dockerfile to move the installation file into the Julia image that Jot.jl builds and run the installer in silent mode so that it's available here /opt/CPLEX_Studio1210/cplex/bin/x86-64_linux/ within the image.

Before I go ahead and fork your repo to give that a shot, do you have any suggestions that would allow us to avoid modifying Jot?

sklink commented 1 year ago

Closing this. We've moved to GLPK which doesn't require a manual installation.

harris-chris commented 1 year ago

Sure. Permitting custom edits to the Dockerfile should be quite a trivial feature to add, so if you need that then let me know.

On Thu, 27 Oct 2022, 02:27 Matt Doak, @.***> wrote:

Closing this. We've moved to GLPK which doesn't require a manual installation.

— Reply to this email directly, view it on GitHub https://github.com/harris-chris/Jot.jl/issues/34#issuecomment-1292373031, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALDMVSAXPSFNIT4ZRSFHTATWFFSZVANCNFSM6AAAAAARPDUMUQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>