Skip to content

pip install dockerscan yields an error #9

@Talanor

Description

@Talanor

On a docker environment

FROM golang:1.10 as build

RUN apt update
RUN apt install -y python3 python3-pip
RUN pip3 install dockerscan

an error occurs:

root@4ef93516ca6e:/go# python3.5 -m pip install -U dockerscan
Collecting dockerscan
  Using cached dockerscan-1.0.0a3.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-3f8sypdm/dockerscan/setup.py", line 71, in <module>
        long_description = f.read()
      File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 2090: ordinal not in range(128)
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-3f8sypdm/dockerscan/

This is due to implicit byte decoding in setup.py, I will PR shortly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions