-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
NAME = verypossible/serverless | ||
VERSION = 1.19.0 | ||
VERSION = 1.21.0 | ||
|
||
.PHONY: all py2 py3 shell | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,14 @@ | ||
# serverless | ||
|
||
Automated Docker build for the Serverless framework | ||
|
||
There are two `Dockerfile`s which are nearly the same. One uses Python 2 base image and the other | ||
Python 3. | ||
|
||
These images are build from Docker Cloud. The Serverless version to build is specified as a build | ||
`ARG` (build argument) which is set using `--build-arg` during the `docker build` command. To pass | ||
this argument, we need a Docker Cloud build hook which resides in `hooks/build`. | ||
|
||
See the following for more information on Docker Cloud build hooks: | ||
|
||
https://docs.docker.com/docker-cloud/builds/advanced/#source-repository--branch-clones |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
docker build \ | ||
--build-arg SERVERLESS_VERSION=1.20.0 \ | ||
--build-arg SERVERLESS_VERSION=1.21.0 \ | ||
-t $IMAGE_NAME . |