ningyougang opened a new issue #4936:
URL: https://github.com/apache/openwhisk/issues/4936
## Environment details:
* local deployment, CentOS Linux release 7.6.1810 (Core)
* 4GB RAM and `>100G disk`
* Docker version 19.03.6 or 18.06.03
## Steps to reproduce the issue:
1. Remove all docker images (Don't use cache)
2. execute ` ./gradlew distDocker -PdockerImageTag=nightly` or execute
`docker build -t ow-utils ./tools/ow-utils`
## Provide the expected results and outputs:
```
build successfully
```
## Provide the actual results and outputs:
```
build failed, error like below during building
...
[0m[91m rmtree(fullname, ignore_errors, onerror)
File "/usr/lib/python2.7/shutil.py", line 270, in rmtree
[0m[91m rmtree(fullname, ignore_errors, onerror)
File "/usr/lib/python2.7/shutil.py", line 270, in rmtree
[0m[91m rmtree(fullname, ignore_errors, onerror)
File "/usr/lib/python2.7/shutil.py", line 270, in rmtree
[0m[91m rmtree(fullname, ignore_errors, onerror)
File "/usr/lib/python2.7/shutil.py", line 270, in rmtree
[0m[91m rmtree(fullname, ignore_errors, onerror)
File "/usr/lib/python2.7/shutil.py", line 264, in rmtree
fullname = os.path.join(path, name)
File "/usr/lib/python2.7/posixpath.py", line 73, in join
[0m[91m path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 13:
ordinal not in range(128)
```
## Additional information you deem important:
When i run a container based on adoptopenjdk/openjdk8:jdk8u191-b12 image
using below command
```
docker run -it adoptopenjdk/openjdk8:jdk8u191-b12 bash
```
executed below command in above temp container
```
export LC_ALL=C
pip install cryptography==2.5
```
All steps of that ow-utils's Dockerfile executed successfully,
so here i suspect already solved this problem, but it seems not.
But after i added below command to ow-utils's Dockerfile
```
ENV LC_ALL C
RUN pip install cryptography==2.5
```
Then, build ow-utils image again with above new Dockerfile, the problem
still exist.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]