packing-box / docker-packing-box

Docker image gathering packers and tools for making datasets of packed executables and training machine learning models for packing detection
GNU General Public License v3.0
49 stars 10 forks source link

ValueError in file /opt/tools/packing-box during `docker build` #5

Closed RomainJennes closed 2 years ago

RomainJennes commented 2 years ago

Description

The Docker image fails to build when the command docker build -t dhondta/packing-box . is issued on the current version of the project.

Error debug output

$ docker build -t dhondta/packing-box .

[...] <<snipped steps 1-32>>

Step 33/41 : RUN mv /opt/analyzers/*.zip /tmp/analyzers/  && /opt/tools/packing-box setup analyzer
 ---> Running in e073ca37c3f4
!! Could not derive your terminal width !!
Traceback (most recent call last):
  File "/opt/tools/packing-box", line 125, in <module>
    selected.remove(item.name)
ValueError: list.remove(x): x not in list
The command '/bin/sh -c mv /opt/analyzers/*.zip /tmp/analyzers/  && /opt/tools/packing-box setup analyzer' returned a non-zero code: 1

Steps to reproduce

$ git clone git@github.com:packing-box/docker-packing-box.git
$ cd docker-packing-box/
$ docker build -t dhondta/packing-box .
dhondta commented 2 years ago

@RomainJennes Thank you for mentioning this. The issue is now fixed in the latest commit.