Skip to content

Commit

Permalink
Merge pull request #75 from UM-Bridge/julia
Browse files Browse the repository at this point in the history
switch to maintained julia base
  • Loading branch information
annereinarz committed May 20, 2024
2 parents 6fdd13f + e624f79 commit d83ff4f
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions models/testmodel-julia/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
FROM ubuntu:latest
FROM julia:latest

COPY minimal-server.jl /
COPY minimal-server.jl /minimal-server.jl

RUN apt update && \
DEBIAN_FRONTEND="noninteractive" apt install -y curl
RUN julia -O3 -e 'using Pkg; Pkg.REPLMode.pkgstr("add UMBridge ;precompile"); using UMBridge'

ENV JULIA_PATH /usr/local/julia
ENV PATH $JULIA_PATH/bin:$PATH

RUN curl -fsSL https://install.julialang.org | sh -s -- -y

CMD julia minimal-server.jl
CMD julia /minimal-server.jl

0 comments on commit d83ff4f

Please sign in to comment.