File tree 3 files changed +15
-2
lines changed
3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -225,6 +225,10 @@ RUN \
225
225
./config shared --prefix=${PREFIX}/openssl --openssldir=${PREFIX}/openssl; \
226
226
make depend; make install; cd ..; rm -rf openssl
227
227
228
+ # rsync is required by bin/package.sh, so install it here
229
+ RUN \
230
+ yum install -y rsync
231
+
228
232
229
233
# Copy shell scripts and config files over
230
234
COPY bin/* /usr/local/bin/
Original file line number Diff line number Diff line change
1
+ build :
2
+ ./build-and-test.sh
3
+
4
+ clean :
5
+ -rm -rf lambda/
6
+ -rm lambda-deploy.zip
7
+ -rm python/lambda-deploy.zip
8
+ git ls-files -o python/lambda | while read f; do rm -- " $$ f" ; done
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
-
2
+ set -e
3
3
VERSION=$( cat VERSION)
4
4
PYVERSION=$( cat python/PYVERSION)
5
5
6
+ INTERACTIVE=$( if test -t 0; then echo -i; fi)
6
7
docker build . -t developmentseed/geolambda:${VERSION}
7
- docker run --rm -v $PWD :/home/geolambda -it developmentseed/geolambda:${VERSION} package.sh
8
+ docker run --rm -v $PWD :/home/geolambda ${INTERACTIVE} -t developmentseed/geolambda:${VERSION} package.sh
8
9
9
10
cd python
10
11
docker build . --build-arg VERSION=${VERSION} -t developmentseed/geolambda:${VERSION} -python
You can’t perform that action at this time.
0 commit comments