@rlyle1179/serverless-aws-batch 1.0.81 → 1.0.82

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.
Files changed (2) hide show
  1. package/lib/docker.js +3 -1
  2. package/package.json +1 -1
package/lib/docker.js CHANGED
@@ -86,6 +86,7 @@ function buildDockerImage() {
86
86
  RUN cd /tmp && unzip -q ${this.serverless.service.service}.zip && rm ${this.serverless.service.service}.zip
87
87
 
88
88
  FROM justinram11/lambda:nodejs12.x
89
+ USER root
89
90
  COPY --from=builder /tmp /var/task/
90
91
  COPY --from=builder /usr/bin/tar /usr/bin/
91
92
  COPY --from=builder /usr/bin/gzip /usr/bin/
@@ -93,10 +94,11 @@ function buildDockerImage() {
93
94
  COPY --from=builder /usr/lib64/* /usr/lib64/
94
95
  COPY --from=builder /usr/lib/* /usr/lib/
95
96
  RUN curl -sL https://nodejs.org/download/release/v16.20.0/node-v16.20.0-linux-x64.tar.gz --output /tmp/node16.tar.gz
96
- RUN cd /tmp && tar xvf node16.tar.gz && cp -rf node-v16.20.0-linux-x64/* /var/lang/
97
+ RUN cd /tmp && tar xf node16.tar.gz && cp -rf node-v16.20.0-linux-x64/* /var/lang/
97
98
  ENV NODE_PATH=/var/lang/lib/node_modules
98
99
  RUN node -v
99
100
  RUN rm -rf /tmp/*
101
+ USER sbx_user1051
100
102
  `;
101
103
 
102
104
  const servicePath = this.serverless.config.servicePath || '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rlyle1179/serverless-aws-batch",
3
- "version": "1.0.81",
3
+ "version": "1.0.82",
4
4
  "description": "Serverless Framework Plugin for interacting with AWS Batch",
5
5
  "main": "index.js",
6
6
  "scripts": {