Skip to content

Commit 585cde8

Browse files
authored
Merge pull request #17 from verypossible/update-to-1.22
bump to version 1.22.0
2 parents 90deaa4 + 8e37cbf commit 585cde8

File tree

5 files changed

+9
-3
lines changed

5 files changed

+9
-3
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ RUN curl -s https://bootstrap.pypa.io/get-pip.py | python
1111
RUN pip install \
1212
awscli \
1313
pep8 \
14+
pipenv \
1415
pytest \
1516
pytest-cov \
1617
pytest-mock \

Dockerfile-python3

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ RUN curl -s https://bootstrap.pypa.io/get-pip.py | python
1111
RUN pip install \
1212
awscli \
1313
pep8 \
14+
pipenv \
1415
pytest \
1516
pytest-cov \
1617
pytest-mock \

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
NAME = verypossible/serverless
2-
VERSION = 1.21.0
2+
VERSION = 1.22.0
33

44
.PHONY: all py2 py3 shell
55

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,14 @@ Automated Docker build for the Serverless framework
55
There are two `Dockerfile`s which are nearly the same. One uses Python 2 base image and the other
66
Python 3.
77

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
99
`ARG` (build argument) which is set using `--build-arg` during the `docker build` command. To pass
1010
this argument, we need a Docker Cloud build hook which resides in `hooks/build`.
1111

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+
1216
See the following for more information on Docker Cloud build hooks:
1317

1418
https://docs.docker.com/docker-cloud/builds/advanced/#source-repository--branch-clones

hooks/build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ fi
1010
echo "Using $DOCKERFILE for build"
1111

1212
docker build \
13-
--build-arg SERVERLESS_VERSION=1.21.0 \
13+
--build-arg SERVERLESS_VERSION=1.22.0 \
1414
-f $DOCKERFILE \
1515
-t $IMAGE_NAME .

0 commit comments

Comments
 (0)