File tree Expand file tree Collapse file tree 4 files changed +25
-22
lines changed
sample/src/nativeInterop/cinterop Expand file tree Collapse file tree 4 files changed +25
-22
lines changed Original file line number Diff line number Diff line change 1- FROM public.ecr.aws/lambda/provided:al2
1+ FROM ubuntu:22.04
22
3- # todo file name
4- COPY sample/build/bin/linuxX64/releaseExecutable/sample.kexe /var/runtime/bootstrap
3+ ENV DEBIAN_FRONTEND=noninteractive
54
6- COPY large-file.json /var/task/large-file.json
7- RUN chmod +r /var/task/large-file.json
5+ RUN apt-get update && \
6+ apt-get install -y openjdk-17-jdk curl libcurl4-openssl-dev git unzip && \
7+ apt-get clean
88
9- COPY o.json /var/task/o.json
10- RUN chmod +r /var/task/o.json
11-
12- # Check if RIE is in /usr/local/bin or /opt/aws
13- RUN if [ -f /usr/local/bin/aws-lambda-rie ] || [ -f /opt/aws/aws-lambda-rie ]; then echo "RIE is present" ; else echo "RIE is not present" ; fi
14-
15- COPY lambda_docker_entry_point.sh /lambda_docker_entry_point.sh
16- RUN chmod +x /lambda_docker_entry_point.sh
17-
18- ENTRYPOINT ["/lambda_docker_entry_point.sh" ]
9+ WORKDIR /sample
Original file line number Diff line number Diff line change 11[versions ]
22junit = " 4.13.2"
3- kotlin = " 2.0.0 "
3+ kotlin = " 2.0.10 "
44coroutinest-test = " 1.9.0-RC"
55ktor = " 3.0.0-beta-2"
66serialization = " 1.6.3"
Original file line number Diff line number Diff line change 1+ FROM public.ecr.aws/lambda/provided:al2
2+
3+ # todo file name
4+ COPY sample/build/bin/linuxX64/releaseExecutable/sample.kexe /var/runtime/bootstrap
5+
6+ COPY large-file.json /var/task/large-file.json
7+ RUN chmod +r /var/task/large-file.json
8+
9+ COPY o.json /var/task/o.json
10+ RUN chmod +r /var/task/o.json
11+
12+ # Check if RIE is in /usr/local/bin or /opt/aws
13+ RUN if [ -f /usr/local/bin/aws-lambda-rie ] || [ -f /opt/aws/aws-lambda-rie ]; then echo "RIE is present" ; else echo "RIE is not present" ; fi
14+
15+ COPY lambda_docker_entry_point.sh /lambda_docker_entry_point.sh
16+ RUN chmod +x /lambda_docker_entry_point.sh
17+
18+ ENTRYPOINT ["/lambda_docker_entry_point.sh" ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments