WASdev / ci.docker.websphere-traditional

Dockerfiles for WebSphere Application Server traditional
Apache License 2.0
171 stars 192 forks source link

Unknown flag: chown #123

Closed shareauto closed 5 years ago

shareauto commented 5 years ago

I am building an image from FROM ibmcom/websphere-traditional:latest

I get following error message when I tried to execute the following command in Dockerfile

COPY --chown=was:was scripts/* /work/

Unknown flag: chown

arthurdm commented 5 years ago

hi @shareauto - to use that flag you need to use a Docker CE version of 17.09 or newer. Can you please upgrade and try again?

shareauto commented 5 years ago

@arthurdm Yes, the issue resolved after upgrading to latest version of Docker.