Skip to content
Merged
Show file tree
Hide file tree
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
13 changes: 12 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
FROM amazoncorretto:21
FROM amazoncorretto:21-al2023

RUN yum -y update
RUN yum install -y wget
RUN yum install -y unzip
RUN yum install -y /usr/sbin/adduser

# AL2023 uses dnf
RUN dnf -y update \
&& dnf -y install wget unzip shadow-utils tar gzip python3.12 \
&& dnf clean all

RUN dnf install -y findutils && dnf clean all

# Make python3 resolve to Python 3.12 for shell/runtime use
# (do not remove system python packages)
RUN ln -sf /usr/bin/python3.12 /usr/local/bin/python3

RUN groupadd dockergroup
RUN useradd -m -g dockergroup dockeruser

Expand Down
2 changes: 1 addition & 1 deletion terraform/forge.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ resource "aws_lambda_function" "forge_task" {
source_code_hash = filebase64sha256("${path.module}/forge-lambda.zip")
handler = "gov.nasa.podaac.forge.FootprintHandler::handleRequestStreams"
role = var.lambda_role
runtime = "java11"
runtime = "java21"
timeout = var.timeout
memory_size = var.memory_size

Expand Down
Loading