@rlyle1179/serverless-aws-batch 1.1.0 → 1.1.2
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 +2 -3
- package/package.json +1 -1
package/lib/docker.js
CHANGED
|
@@ -80,13 +80,11 @@ function buildDockerImage() {
|
|
|
80
80
|
const dockerFileContents = `
|
|
81
81
|
FROM justinram11/lambda:build-nodejs12.x AS builder
|
|
82
82
|
USER root
|
|
83
|
-
|
|
84
|
-
${additionalRunCommands}
|
|
85
83
|
RUN mkdir -p /tmp/task/
|
|
86
84
|
COPY ${this.serverless.service.service}.zip /tmp/task
|
|
87
85
|
RUN cd /tmp/task && unzip -q ${this.serverless.service.service}.zip && rm ${this.serverless.service.service}.zip
|
|
88
86
|
RUN mkdir -p /tmp/node16/
|
|
89
|
-
RUN curl -sL https://develop.apricity-health.com/assets/node-v16.20
|
|
87
|
+
RUN curl -sL https://develop.apricity-health.com/assets/node-v16.20.0-linux-x64.tar.gz --output /tmp/node.tar.gz
|
|
90
88
|
RUN cd /tmp && tar xf node.tar.gz && cp -rf node-v16.20.0-linux-x64/* /tmp/node16/
|
|
91
89
|
|
|
92
90
|
FROM justinram11/lambda:nodejs12.x
|
|
@@ -97,6 +95,7 @@ function buildDockerImage() {
|
|
|
97
95
|
RUN node -v
|
|
98
96
|
RUN rm -rf /tmp/*
|
|
99
97
|
USER sbx_user1051
|
|
98
|
+
${additionalRunCommands}
|
|
100
99
|
`;
|
|
101
100
|
|
|
102
101
|
const servicePath = this.serverless.config.servicePath || '';
|