Skip to content

Commit

Permalink
Add Docker image for Julia (PR #1)
Browse files Browse the repository at this point in the history
  • Loading branch information
rystidia authored Apr 29, 2024
1 parent cfb6223 commit cc990eb
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ jobs:
implementation: nodejs12
- target: javascript
implementation: nodejs20
- target: julia
implementation: 1.9
- target: lua
implementation: 5.3
- target: nim
Expand Down
15 changes: 15 additions & 0 deletions src/julia/1.9-linux-x86_64/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM julia:1.9

# Copy files common for all images
COPY 4img/* ./

# Ruby is needed to run partial builder
RUN ./prepare-apt-ruby && \
./prepare-apt-uninit

WORKDIR /env

# Install dependencies
RUN julia -e 'using Pkg; Pkg.activate("."); Pkg.add(["TestReports", "Test", "StringEncodings", "CodecZlib"]);'
# Precompile dependencies
RUN julia -e 'using Pkg; Pkg.instantiate();'
1 change: 1 addition & 0 deletions src/julia/1.9-linux-x86_64/build
1 change: 1 addition & 0 deletions src/julia/1.9-linux-x86_64/run-it

0 comments on commit cc990eb

Please sign in to comment.