VirusTotalNet
VirusTotalNet copied to clipboard
Unknown flag: chown in nodejs template
COPY --chown is not work on docker 17.03.2-ce
Expected Behaviour
fass-cli build will success
Current Behaviour
It will failed at docker build.
... Step 14 : COPY --chown=app:app function/ . Unknown flag: chown
Possible Solution
Do not use COPY --chown in Dockerfile
Steps to Reproduce (for bugs)
- Using a bit older docker
- js-fn.yml to specify "lang: node"
- faas-cli build -f js-fn.yml
Context
Your Environment
- Docker version
docker version(e.g. Docker 17.0.05 ): Both 17.03.2-ce and 1.12.6 - Are you using Docker Swarm or Kubernetes (FaaS-netes)? K8s
- Operating System and version (e.g. Linux, Windows, MacOS): Linux
- Link to your project or a code example to reproduce issue: JS example can reproduce this issue.
Any updates on this issue.
Hi @oanguin, if you look at the PR, then you will see that @sdf611097 was asked for input over 7 months ago and still hasn't replied.
If you'd like this feature, I'd suggest working on the PR or submitting your own PR.
The key thing lacking from the PR was testing and evidence that it didn't introduce breakage.
Hope that helps,
Alex