File tree Expand file tree Collapse file tree 5 files changed +9
-3
lines changed Expand file tree Collapse file tree 5 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ RUN curl -s https://bootstrap.pypa.io/get-pip.py | python
11
11
RUN pip install \
12
12
awscli \
13
13
pep8 \
14
+ pipenv \
14
15
pytest \
15
16
pytest-cov \
16
17
pytest-mock \
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ RUN curl -s https://bootstrap.pypa.io/get-pip.py | python
11
11
RUN pip install \
12
12
awscli \
13
13
pep8 \
14
+ pipenv \
14
15
pytest \
15
16
pytest-cov \
16
17
pytest-mock \
Original file line number Diff line number Diff line change 1
1
NAME = verypossible/serverless
2
- VERSION = 1.21 .0
2
+ VERSION = 1.22 .0
3
3
4
4
.PHONY : all py2 py3 shell
5
5
Original file line number Diff line number Diff line change @@ -5,10 +5,14 @@ Automated Docker build for the Serverless framework
5
5
There are two ` Dockerfile ` s which are nearly the same. One uses Python 2 base image and the other
6
6
Python 3.
7
7
8
- These images are build from Docker Cloud. The Serverless version to build is specified as a build
8
+ These images are built in Docker Cloud. The Serverless version to build is specified as a build
9
9
` ARG ` (build argument) which is set using ` --build-arg ` during the ` docker build ` command. To pass
10
10
this argument, we need a Docker Cloud build hook which resides in ` hooks/build ` .
11
11
12
+ In order to bump the Serverless version, the only real requirement is to change the version in the
13
+ ` hooks/build ` file. The ` Makefile ` also has references to the Serverless version, but this is
14
+ really for testing the build locally.
15
+
12
16
See the following for more information on Docker Cloud build hooks:
13
17
14
18
https://docs.docker.com/docker-cloud/builds/advanced/#source-repository--branch-clones
Original file line number Diff line number Diff line change 10
10
echo " Using $DOCKERFILE for build"
11
11
12
12
docker build \
13
- --build-arg SERVERLESS_VERSION=1.21 .0 \
13
+ --build-arg SERVERLESS_VERSION=1.22 .0 \
14
14
-f $DOCKERFILE \
15
15
-t $IMAGE_NAME .
You can’t perform that action at this time.
0 commit comments