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

Update to EPEL 9 and Node 20 #52

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion workers/keyword-lambda-python/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM public.ecr.aws/lambda/python:3.9

RUN rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
RUN rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm \
&& yum update -y \
&& yum install -y \
tesseract
Expand Down
2 changes: 1 addition & 1 deletion workers/tesseract-lambda-python/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM --platform=linux/amd64 public.ecr.aws/lambda/python:3.9

RUN rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
RUN rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm \
&& yum update -y \
&& yum install -y \
tesseract
Expand Down
6 changes: 3 additions & 3 deletions workers/tesseract-lambda/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM public.ecr.aws/lambda/nodejs:16
FROM public.ecr.aws/lambda/nodejs:20

# RUN yum update -y \
# && yum install -y tesseract-ocr

RUN rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
RUN rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm \
&& yum -y update \
&& yum -y groupinstall 'Development Tools' \
&& yum -y install tesseract python3
Expand All @@ -13,7 +13,7 @@ COPY package.json ${LAMBDA_TASK_ROOT}

RUN npm install

FROM public.ecr.aws/lambda/nodejs:16
FROM public.ecr.aws/lambda/nodejs:20

COPY --from=0 ${LAMBDA_TASK_ROOT} ${LAMBDA_TASK_ROOT}

Expand Down
Loading