This repository combines Google's "Distroless" images with AWS' Low Latency Runtime for JavaScript and creates a Docker image for you to use.
You must build your own docker image. I (and Google) recommend you use the builder pattern:
FROM node:last AS build
COPY . /app
WORKDIR /app
RUN npm ci --omit=dev
FROM martinramm/distroless-llrt:latest-x64
COPY --from=build-env /app /app
WORKDIR /app
CMD ["index.js"]Github actions checks every 6h for new base images and new llrt versions and creates new images. Note that old llrt
versions do not receive base image updates.
The following schema is used:
- Latest distroless base image and latest
llrtversion:latest-x64latest-arm64latest-arm64-debuglatest-arm64-debug
- With a specific
llrtversion (in this examplev0.3.0-beta) and latest distroless base image:v0.3.0-beta-x64v0.3.0-beta-arm64v0.3.0-beta-arm64-debugv0.3.0-beta-arm64-debug
For a full list please refer to docker hub.