We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbe4682 commit ede0f17Copy full SHA for ede0f17
build-and-test.sh
@@ -0,0 +1,12 @@
1
+#!/bin/bash
2
+
3
+VERSION=$(cat VERSION)
4
5
+docker build . -t developmentseed/geolambda:${VERSION}
6
+docker run --rm -v $PWD:/home/geolambda -it developmentseed/geolambda:${VERSION} package.sh
7
8
+cd python
9
+docker build . --build-arg VERSION=${VERSION} -t developmentseed/geolambda:${VERSION}-python
10
+docker run -v ${PWD}:/home/geolambda -t developmentseed/geolambda:${VERSION}-python package-python.sh
11
12
+docker run --rm -v ${PWD}/lambda:/var/task -v ${PWD}/../lambda:/opt lambci/lambda:python3.7 lambda_function.lambda_handler '{}'
0 commit comments