@rlyle1179/serverless-aws-batch 1.1.12 → 1.1.13

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 +2 -1
  2. package/package.json +1 -1
package/lib/docker.js CHANGED
@@ -88,6 +88,7 @@ function buildDockerImage() {
88
88
  }
89
89
 
90
90
  let buildImage = _.get(this.serverless.service,"custom.awsBatch.buildImage", "368461407828.dkr.ecr.us-east-1.amazonaws.com/build-batch-image-base:latest" );
91
+ let batchImage = _.get(this.serverless.service,"custom.awsBatch.batchImage", "368461407828.dkr.ecr.us-east-1.amazonaws.com/batch-image-base:latest" );
91
92
 
92
93
  // Override some of the default lambci environmental variables.
93
94
  // - Function Timeout and Function Memory are set by Env Variables on the Job Definition
@@ -100,7 +101,7 @@ function buildDockerImage() {
100
101
  RUN cd /tmp/task && unzip -q ${this.serverless.service.service}.zip && rm ${this.serverless.service.service}.zip
101
102
  ${addtionalBuildCommands}
102
103
 
103
- FROM 368461407828.dkr.ecr.us-east-1.amazonaws.com/batch-image-base:latest
104
+ FROM ${batchImage}
104
105
  USER root
105
106
  COPY --from=builder /tmp/task /var/task/
106
107
  ${additionalCommands}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rlyle1179/serverless-aws-batch",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "description": "Serverless Framework Plugin for interacting with AWS Batch",
5
5
  "main": "index.js",
6
6
  "scripts": {