Skip to content

Commit 84a85a9

Browse files
committed
chore: removed examples
1 parent ad036fd commit 84a85a9

File tree

8 files changed

+2
-455
lines changed

8 files changed

+2
-455
lines changed

Dockerfile

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ ARG HTTP_CLI_VERSION=v1.0.1
66
RUN dnf install -y unzip && \
77
dnf clean all
88

9-
# # Install AWS CLI v2 (official installation)
10-
# RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip" -o "awscliv2.zip" && \
11-
# unzip awscliv2.zip && \
12-
# ./aws/install && \
13-
# rm -rf awscliv2.zip aws
14-
159
# Download http-cli
1610
RUN --mount=type=secret,id=github_token \
1711
curl -H "Authorization: token $(cat /run/secrets/github_token)" \
@@ -23,20 +17,15 @@ RUN --mount=type=secret,id=github_token \
2317
chmod +x /http-cli-bin/http-cli && \
2418
rm -rf http-cli.zip http-cli-${HTTP_CLI_VERSION#v}
2519

26-
# Stage 2: Runtime stage
27-
FROM public.ecr.aws/lambda/provided:al2023
2820

29-
# Install only runtime dependencies
21+
FROM public.ecr.aws/lambda/provided:al2023
22+
3023
RUN dnf install -y \
3124
jq \
3225
aws-cli && \
3326
dnf clean all && \
3427
rm -rf /var/cache/dnf
3528

36-
# Copy AWS CLI binaries only
37-
# COPY --from=builder /usr/local/bin/aws /usr/local/bin/aws
38-
# COPY --from=builder /usr/local/aws-cli /usr/local/aws-cli
39-
4029
# Copy http-cli
4130
COPY --from=builder /http-cli-bin/http-cli /var/task/bin/http-cli
4231

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Implement AWS Lambda functions in Bash, packaged as OCI-compliant container imag
66

77
Inspired by: https://docs.aws.amazon.com/lambda/latest/dg/runtimes-walkthrough.html
88

9-
109
This custom Lambda runtime enables Bash-based execution with minimal dependencies. We provide three image variants tailored to different needs:
1110

1211
## Runtime Image Variants

examples/Dockerfile

Lines changed: 0 additions & 10 deletions
This file was deleted.

examples/README.md

Lines changed: 0 additions & 53 deletions
This file was deleted.

examples/rrelay.sh

Lines changed: 0 additions & 226 deletions
This file was deleted.

examples/run

Lines changed: 0 additions & 39 deletions
This file was deleted.

examples/service.sh

Lines changed: 0 additions & 111 deletions
This file was deleted.

task/helpers.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#!/bin/bash
22

33
# https://docs.aws.amazon.com/lambda/latest/dg/runtimes-api.html
4-
5-
64
# https://docs.aws.amazon.com/lambda/latest/dg/services-apigateway.html#apigateway-example-event
75
# https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-lambda-proxy-integrations.html#api-gateway-simple-proxy-for-lambda-input-format
86
# https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-lambda-proxy-integrations.html#api-gateway-simple-proxy-for-lambda-output-format

0 commit comments

Comments
 (0)