agent-claw: automated task changes
This commit is contained in:
33
cdk/node_modules/@aws-cdk/asset-node-proxy-agent-v6/layer/Dockerfile
generated
vendored
Normal file
33
cdk/node_modules/@aws-cdk/asset-node-proxy-agent-v6/layer/Dockerfile
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
# base lambda image
|
||||
FROM public.ecr.aws/lambda/nodejs:latest
|
||||
|
||||
USER root
|
||||
RUN mkdir -p /opt
|
||||
WORKDIR /tmp
|
||||
|
||||
#
|
||||
# tools
|
||||
#
|
||||
|
||||
RUN dnf update -y \
|
||||
&& dnf install -y zip
|
||||
|
||||
#
|
||||
# install nodejs dependencies: proxy-agent
|
||||
#
|
||||
|
||||
RUN mkdir -p /opt/nodejs
|
||||
COPY package*.json /opt/nodejs/
|
||||
RUN cd /opt/nodejs && npm ci && rm package*.json
|
||||
|
||||
#
|
||||
# create the bundle
|
||||
#
|
||||
|
||||
RUN cd /opt \
|
||||
&& zip --symlinks -r ../layer.zip * \
|
||||
&& echo "/layer.zip is ready" \
|
||||
&& ls -alh /layer.zip;
|
||||
|
||||
WORKDIR /
|
||||
ENTRYPOINT [ "/bin/bash" ]
|
||||
Reference in New Issue
Block a user