@rlyle1179/serverless-aws-batch 1.0.61 → 1.0.63

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 +1 -5
  2. package/package.json +1 -1
package/lib/docker.js CHANGED
@@ -85,13 +85,9 @@ 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 justinram11/lambda:nodejs12.x
88
+ FROM amazon/aws-lambda-nodejs:16
89
89
  COPY --from=builder /tmp /var/task/${this.serverless.service.service}/
90
90
  RUN rm -rf /tmp/*
91
- RUN dnf install yum
92
- RUN rpm -q yum
93
- RUN yum install -y curl
94
- RUN curl -sL https://rpm.nodesource.com/setup_16.x | bash -
95
91
  ENV NODE_PATH=/opt/nodejs/node16/node_modules:/opt/nodejs/node_modules:/var/runtime/node_modules
96
92
  RUN node -v
97
93
  WORKDIR /var/task/${this.serverless.service.service}/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rlyle1179/serverless-aws-batch",
3
- "version": "1.0.61",
3
+ "version": "1.0.63",
4
4
  "description": "Serverless Framework Plugin for interacting with AWS Batch",
5
5
  "main": "index.js",
6
6
  "scripts": {