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
27 changes: 27 additions & 0 deletions 3.13/lambda/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# tags=articulate/python:3.13-lambda
# syntax=docker/dockerfile:1
FROM amazon/aws-lambda-python:3.13

ENV AWS_DEFAULT_REGION=us-east-1 SERVICE_ROOT=/service SERVICE_USER=service SERVICE_UID=1001

ARG TARGETARCH

# hadolint ignore=DL3041
RUN dnf -y install make zip shadow-utils \
# Add service user
&& /usr/sbin/groupadd --gid $SERVICE_UID $SERVICE_USER \
&& /usr/sbin/useradd --create-home --shell /bin/bash --uid $SERVICE_UID --gid $SERVICE_UID $SERVICE_USER \
# clean up
&& dnf -y remove shadow-utils \
&& dnf clean all

ADD --chmod=755 https://github.com/articulate/docker-bootstrap/releases/latest/download/docker-bootstrap_linux_${TARGETARCH} /entrypoint
ADD --chmod=755 https://raw.githubusercontent.com/articulate/docker-bootstrap/main/scripts/docker-secrets /usr/local/bin/secrets

USER $SERVICE_USER
WORKDIR $SERVICE_ROOT

# Our entrypoint will pull in our environment variables from Consul and Vault,
# and execute whatever command we provided the container.
# See https://github.com/articulate/docker-bootstrap
ENTRYPOINT [ "/entrypoint" ]
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Base Python Docker images.

* __articulate/python:3.13__ 🌟
> pytorch, torchvision for 3.13 not yet available
* articulate/python:3.13-lambda
* articulate/python:3.12
* articulate/python:3.12-pytorch
* articulate/python:3.11
Expand Down