Skip to content

Commit

Permalink
Merge pull request #16 from ianfiske/julia-1.8
Browse files Browse the repository at this point in the history
Update for Julia 1.8
  • Loading branch information
mattBrzezinski authored May 1, 2023
2 parents 8f91d6a + 244bd85 commit 4ff5962
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
9 changes: 5 additions & 4 deletions template_files/Dockerfile
Original file line number Diff line number Diff line change
@@ -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.5
ARG SHA256="e71a24816e8fe9d5f4807664cbbb42738f5aa9fe05397d35c81d4c5d649b9d05"

WORKDIR /usr/local

Expand All @@ -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 . .
Expand Down
2 changes: 1 addition & 1 deletion template_files/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion template_files/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Resources:
Metadata:
Dockerfile: Dockerfile
DockerContext: .
DockerTag: julia1.6-v1
DockerTag: julia1.8-v1

Outputs:
JuliaFunctionLambdaArn:
Expand Down

2 comments on commit 4ff5962

@mattBrzezinski
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/82648

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.3 -m "<description of version>" 4ff59624f03bbafbbf1c32ad1d82c059d34dfbcf
git push origin v0.1.3

Please sign in to comment.