Skip to content

Commit 234ccb8

Browse files
Merge branch 'main' into testing
2 parents fc0e29f + 26096bf commit 234ccb8

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/build-base-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Update Base Image for AWS Lambda and push to DockerHub
1+
name: Build and Push AWS Lambda Base Image
22

33
on:
44
push:

Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
ARG PYTHON_VERSION
22

3-
# Base image is Python 3.X provided by AWS Lambda in Docker Hub
3+
# Base image is Python 3.8/3.9/3.10/3.11/3.12 provided by AWS Lambda in Docker Hub
44
FROM public.ecr.aws/lambda/python:${PYTHON_VERSION}
55

66
WORKDIR /app
77

88
# These are visible, the image is public so secrets would be accessible anyways
99
# We'd like these to be available if any evaluation function needs it...
10-
# TODO: Find a better way to do thi
10+
# TODO: ~Find a better way to do this~
11+
# TODO: We can probably use docker secrets, let's see...
1112
ARG INVOKER_ID
1213
ARG INVOKER_KEY
1314
ARG INVOKER_REGION
1415

15-
ENV INVOKER_ID=${INVOKER_ID}\
16-
INVOKER_KEY=${INVOKER_KEY}\
17-
INVOKER_REGION=${INVOKER_REGION}
16+
ENV INVOKER_ID=${INVOKER_ID}
17+
ENV INVOKER_KEY=${INVOKER_KEY}
18+
ENV INVOKER_REGION=${INVOKER_REGION}
1819

1920
# Install backend dependencies
2021
COPY requirements.txt base_requirements.txt

0 commit comments

Comments
 (0)