Closed d-grasshopper closed 3 years ago
Ability to pass in additional packages to be installed as part of the template Dockerfile
Inability to pass additional packages to be installed as part of template Dockerfile
Maybe this is already possible, but I have no idea how to pass that argument
I need to do this, so that I can install the necessary dependencies to build cryptography
cryptography
FaaS-CLI version ( Full output from: faas-cli version ):
faas-cli version
Docker version docker version (e.g. Docker 17.0.05 ): 19.03.12
docker version
Are you using Docker Swarm or Kubernetes (FaaS-netes)? k8s with openfaas
Operating System and version (e.g. Linux, Windows, MacOS): Alpine Linux v3.12 (containerized)
Code example or link to GitHub repo or gist to reproduce problem:
Other diagnostic information / logs from troubleshooting guide
You may join Slack for community support.
Sorry, guys, I figured it out (I'm new to OpenFAAS).
faas-cli build -f function.yml --parallel=2 --build-arg 'ADDITIONAL_PACKAGE=gcc musl-dev python3-dev libffi-dev openssl-dev cargo'
My actions before raising this issue
Expected Behaviour
Ability to pass in additional packages to be installed as part of the template Dockerfile
Current Behaviour
Inability to pass additional packages to be installed as part of template Dockerfile
Possible Solution
Maybe this is already possible, but I have no idea how to pass that argument
Steps to Reproduce (for bugs)
Context
I need to do this, so that I can install the necessary dependencies to build
cryptography
Your Environment
FaaS-CLI version ( Full output from:
faas-cli version
):Docker version
docker version
(e.g. Docker 17.0.05 ): 19.03.12Are you using Docker Swarm or Kubernetes (FaaS-netes)? k8s with openfaas
Operating System and version (e.g. Linux, Windows, MacOS): Alpine Linux v3.12 (containerized)
Code example or link to GitHub repo or gist to reproduce problem:
Other diagnostic information / logs from troubleshooting guide
Next steps
You may join Slack for community support.