VirusTotalNet icon indicating copy to clipboard operation
VirusTotalNet copied to clipboard

Unknown flag: chown in nodejs template

Open sdf611097 opened this issue 7 years ago • 2 comments

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)

  1. Using a bit older docker
  2. js-fn.yml to specify "lang: node"
  3. 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.

sdf611097 avatar Jul 19 '18 05:07 sdf611097

Any updates on this issue.

oanguin avatar May 20 '19 17:05 oanguin

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

alexellis avatar Jul 19 '19 19:07 alexellis