Skip to content

Commit ff0ca59

Browse files
committed
Seperate lines and use full path to juliaup. Also export the juila path
1 parent c71c0eb commit ff0ca59

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

jenkins/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ RUN apt-get update && \
1212
rm -rf /var/lib/apt/lists/*
1313

1414
#ARG JULIA=1.6
15-
RUN curl -fsSL https://install.julialang.org | sh -s -- --yes && \
16-
juliaup add ${JULIA} && \
17-
juliaup default ${JULIA}
15+
RUN curl -fsSL https://install.julialang.org | sh -s -- --yes
16+
RUN /root/.juliaup/bin/juliaup add ${JULIA} && \
17+
/root/.juliaup/bin/juliaup default ${JULIA}
18+
RUN export PATH=/root/.juliaup/bin/:$PATH

0 commit comments

Comments
 (0)