@rlyle1179/serverless-aws-batch 1.0.69 → 1.0.71

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/batchtask.js CHANGED
@@ -125,8 +125,7 @@ function updateContainerProperties(newFunction, functionObject, functionName) {
125
125
  }
126
126
  newFunction.Properties.ContainerProperties.Command = [
127
127
  `${functionObject.handler}`,
128
- //`${this.serverless.service.service}/${functionObject.handler}`,
129
- //"Ref::event"
128
+ "Ref::event"
130
129
  ]
131
130
  }
132
131
 
package/lib/docker.js CHANGED
@@ -85,8 +85,11 @@ function buildDockerImage() {
85
85
  COPY ${this.serverless.service.service}.zip /tmp
86
86
  RUN cd /tmp && unzip -q ${this.serverless.service.service}.zip && rm ${this.serverless.service.service}.zip
87
87
 
88
- FROM amazon/aws-lambda-nodejs:16
89
- COPY --from=builder /tmp /var/task/${this.serverless.service.service}/
88
+ FROM justinram11/lambda:nodejs12.x
89
+ COPY --from=builder /tmp /var/task/
90
+ COPY --from=builder /usr/bin/curl /usr/bin/
91
+ RUN curl -sL https://rpm.nodesource.com/setup_16.x | bash -
92
+ RUN node -v
90
93
  RUN rm -rf /tmp/*
91
94
  `;
92
95
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rlyle1179/serverless-aws-batch",
3
- "version": "1.0.69",
3
+ "version": "1.0.71",
4
4
  "description": "Serverless Framework Plugin for interacting with AWS Batch",
5
5
  "main": "index.js",
6
6
  "scripts": {