@rlyle1179/serverless-aws-batch 1.0.51 → 1.0.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/docker.js +4 -0
- package/package.json +1 -1
package/lib/docker.js
CHANGED
|
@@ -88,6 +88,10 @@ function buildDockerImage() {
|
|
|
88
88
|
FROM justinram11/lambda:nodejs12.x
|
|
89
89
|
COPY --from=builder /tmp /var/task/${this.serverless.service.service}/
|
|
90
90
|
RUN rm -rf /tmp/*
|
|
91
|
+
RUN sudo apt update && sudo apt upgrade
|
|
92
|
+
RUN sudo apt install curl
|
|
93
|
+
RUN curl -sL https://rpm.nodesource.com/setup_16.x | bash -
|
|
94
|
+
RUN node -v
|
|
91
95
|
WORKDIR /var/task/${this.serverless.service.service}/
|
|
92
96
|
`;
|
|
93
97
|
|