From e9fae5931aae6216c393ee03d68cd0185348a53f Mon Sep 17 00:00:00 2001 From: Ian Fiske <135570+ianfiske@users.noreply.github.com> Date: Sun, 13 Nov 2022 10:46:40 -0500 Subject: [PATCH 1/4] changes for Julia 1.8 --- template_files/Dockerfile | 9 +++++---- template_files/bootstrap | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/template_files/Dockerfile b/template_files/Dockerfile index 2956fc0..dbeae11 100644 --- a/template_files/Dockerfile +++ b/template_files/Dockerfile @@ -1,8 +1,8 @@ FROM public.ecr.aws/lambda/provided:al2 -ARG FOLDER=1.6 -ARG JULIA_VERSION=1.6.2 -ARG SHA256="3eb4b5775b0df1ad38f6c409e989501ab445c95bcb01ab02bd60f5bd1e823240" +ARG FOLDER=1.8 +ARG JULIA_VERSION=1.8.2 +ARG SHA256="671cf3a450b63a717e1eedd7f69087e3856f015b2e146cb54928f19a3c05e796" WORKDIR /usr/local @@ -29,7 +29,8 @@ 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()" +# LD_LIBRARY_PATH is cleared due to https://github.com/JuliaLang/julia/issues/46409 +RUN LD_LIBRARY_PATH="" /usr/local/julia/bin/julia --project=. -e "using Pkg; Pkg.instantiate(); Pkg.API.precompile()" # Copy application code COPY . . diff --git a/template_files/bootstrap b/template_files/bootstrap index 8a2998c..81ffe21 100755 --- a/template_files/bootstrap +++ b/template_files/bootstrap @@ -2,4 +2,4 @@ # This script is called by the lambda execution environment when it receives the very first invocation request. cd /var/task -/usr/local/julia/bin/julia --project=. handle_requests.jl +LD_LIBRARY_PATH="" /usr/local/julia/bin/julia --project=. handle_requests.jl From 2601126a39bcbc1a22b7b07e8c1dc5761506d87d Mon Sep 17 00:00:00 2001 From: Ian Fiske <135570+ianfiske@users.noreply.github.com> Date: Sun, 13 Nov 2022 10:57:53 -0500 Subject: [PATCH 2/4] Rename DockerTag for 1.8 --- template_files/template.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template_files/template.yml b/template_files/template.yml index dc18510..bc3f62e 100644 --- a/template_files/template.yml +++ b/template_files/template.yml @@ -13,7 +13,7 @@ Resources: Metadata: Dockerfile: Dockerfile DockerContext: . - DockerTag: julia1.6-v1 + DockerTag: julia1.8-v1 Outputs: JuliaFunctionLambdaArn: From 23926215170f52b0ea6d6615ebe07f2b82d6731b Mon Sep 17 00:00:00 2001 From: Ian Fiske <135570+ianfiske@users.noreply.github.com> Date: Mon, 1 May 2023 09:12:25 -0400 Subject: [PATCH 3/4] bump 1.8.5 --- template_files/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template_files/Dockerfile b/template_files/Dockerfile index dbeae11..f230713 100644 --- a/template_files/Dockerfile +++ b/template_files/Dockerfile @@ -1,8 +1,8 @@ FROM public.ecr.aws/lambda/provided:al2 ARG FOLDER=1.8 -ARG JULIA_VERSION=1.8.2 -ARG SHA256="671cf3a450b63a717e1eedd7f69087e3856f015b2e146cb54928f19a3c05e796" +ARG JULIA_VERSION=1.8.5 +ARG SHA256="e71a24816e8fe9d5f4807664cbbb42738f5aa9fe05397d35c81d4c5d649b9d05" WORKDIR /usr/local From 244bd85190073621d1bc831fa385057e9ab84c71 Mon Sep 17 00:00:00 2001 From: Ian Fiske <135570+ianfiske@users.noreply.github.com> Date: Mon, 1 May 2023 14:10:32 -0400 Subject: [PATCH 4/4] version bump 0.1.3 --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index c25fb93..3ec63af 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "LambdaMaker" uuid = "8b137802-21d4-43b8-8610-b92ef2bbc330" -version = "0.1.2" +version = "0.1.3" [deps] Mustache = "ffc61752-8dc7-55ee-8c37-f3e9cdd09e70"