Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated to Julia 1.8 #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ FROM public.ecr.aws/lambda/provided:al2
# Download and install Julia
WORKDIR /usr/local
RUN yum install -y tar gzip \
&& curl -LO https://julialang-s3.julialang.org/bin/linux/x64/1.5/julia-1.5.3-linux-x86_64.tar.gz \
&& tar xf julia-1.5.3-linux-x86_64.tar.gz \
&& rm julia-1.5.3-linux-x86_64.tar.gz \
&& ln -s julia-1.5.3 julia
&& curl -LO https://julialang-s3.julialang.org/bin/linux/x64/1.8/julia-1.8.2-linux-x86_64.tar.gz \
&& tar xf julia-1.8.2-linux-x86_64.tar.gz \
&& rm julia-1.8.2-linux-x86_64.tar.gz \
&& ln -s julia-1.8.2 julia

# Install application
WORKDIR /var/task
Expand All @@ -19,7 +19,7 @@ ENV JULIA_DEPOT_PATH /var/task/.julia
# Instantiate project and precompile packages
COPY Manifest.toml .
COPY Project.toml .
RUN /usr/local/julia/bin/julia --project=. -e "using Pkg; Pkg.instantiate(); Pkg.API.precompile()"
RUN /usr/local/julia/bin/julia --project=. -e "using Pkg; Pkg.instantiate(); Pkg.precompile()"

# Copy application code
COPY . .
Expand All @@ -30,7 +30,7 @@ ENV JULIA_DEPOT_PATH /tmp/.julia:/var/task/.julia

# Install bootstrap script
WORKDIR /var/runtime
COPY bootstrap .
COPY --chmod=777 bootstrap .

# Create an empty extensions directory
WORKDIR /opt/extensions
Expand Down