File tree Expand file tree Collapse file tree 4 files changed +8
-16
lines changed Expand file tree Collapse file tree 4 files changed +8
-16
lines changed Original file line number Diff line number Diff line change @@ -22,3 +22,9 @@ chmod +x "$BIN"
2222zip -r " ${BIN} .zip" " $BIN "
2323zip -r " libcrypteia-${BUILD_ARCH} .zip" " $LIB "
2424cd ..
25+
26+ rm -rf ./package/opt
27+ mkdir -p ./package/opt/extensions
28+ mkdir -p ./package/opt/lib
29+ cp " ./build/crypteia-${BUILD_ARCH} " ./package/opt/extensions/crypteia
30+ cp " ./build/libcrypteia-${BUILD_ARCH} .so" ./package/opt/lib/libcrypteia.so
Original file line number Diff line number Diff line change 11FROM alpine
22LABEL org.opencontainers.image.source "https://github.com/customink/crypteia"
33LABEL org.opencontainers.image.description "Rust Lambda Extension for any Runtime to preload SSM Parameters as Secure Environment Variables!"
4-
5- RUN mkdir -p /opt/lib
6- RUN mkdir -p /opt/extensions
7- COPY ./build/crypteia-amzn /opt/extensions/crypteia
8- COPY ./build/libcrypteia-amzn.so /opt/lib/libcrypteia.so
4+ COPY ./package/opt /opt
Original file line number Diff line number Diff line change 11FROM alpine
22LABEL org.opencontainers.image.source "https://github.com/customink/crypteia"
33LABEL org.opencontainers.image.description "Rust Lambda Extension for any Runtime to preload SSM Parameters as Secure Environment Variables!"
4-
5- RUN mkdir -p /opt/lib
6- RUN mkdir -p /opt/extensions
7- COPY ./build/crypteia-debian /opt/extensions/crypteia
8- COPY ./build/libcrypteia-debian.so /opt/lib/libcrypteia.so
4+ COPY ./package/opt /opt
Original file line number Diff line number Diff line change @@ -6,12 +6,6 @@ if [ -z "${S3_BUCKET_NAME}" ]; then
66 exit 1
77fi
88
9- mkdir -p ./package/opt/extensions
10- mkdir -p ./package/opt/lib
11-
12- cp ./build/crypteia-amzn ./package/opt/extensions/crypteia
13- cp ./build/libcrypteia-amzn.so ./package/opt/lib/libcrypteia.so
14-
159cd ./package/opt
1610zip -r package.zip .
1711mv package.zip ..
You can’t perform that action at this time.
0 commit comments