$ faas-cli build -f echo.yml
$ docker run --rm -d -p 8080:8080 echo:latest
$ curl http://localhost:8080 -d "this is a test message"
this is a test message
I then verified that ADDITIONAL_PACKAGE worked as expected using
faas-cli build -f echo.yml --build-arg ADDITIONAL_PACKAGE='curl build-essential'
$ docker run --rm -d -p 8080:8080 echo:latest
$ curl http://localhost:8080 -d "this is a test message"
this is a test message
$ docker run --rm echo:latest which make
/usr/bin/make
The last command verifies that build-essential installed correctly .
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Version change (see: Impact to existing users)
Impact to existing users
Checklist:
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
Description
Motivation and Context
Which issue(s) this PR fixes
Fixes openfaas-incubator/python3-debian#10 Fixes openfaas-incubator/python3-debian#7
How Has This Been Tested?
I tested it by creating a new echo function
I then built it using
I then verified that
ADDITIONAL_PACKAGE
worked as expected usingThe last command verifies that build-essential installed correctly .
Types of changes
Impact to existing users
Checklist:
git commit -s