prbinu / tls-scan

An Internet scale, blazing fast SSL/TLS scanner ( non-blocking, event-driven )
https://prbinu.github.io/tls-scan
Other
283 stars 54 forks source link

Docker build fails #46

Closed r7l closed 2 years ago

r7l commented 2 years ago

Just tried to build with Docker and it failed with this error message:

...
   creating: openssl-1.0.2-chacha/util/pl/
  inflating: openssl-1.0.2-chacha/util/pl/BC-32.pl  
  inflating: openssl-1.0.2-chacha/util/pl/Mingw32.pl  
  inflating: openssl-1.0.2-chacha/util/pl/OS2-EMX.pl  
  inflating: openssl-1.0.2-chacha/util/pl/VC-32.pl  
  inflating: openssl-1.0.2-chacha/util/pl/linux.pl  
  inflating: openssl-1.0.2-chacha/util/pl/netware.pl  
  inflating: openssl-1.0.2-chacha/util/pl/ultrix.pl  
  inflating: openssl-1.0.2-chacha/util/pl/unix.pl  
  inflating: openssl-1.0.2-chacha/util/pod2man.pl  
  inflating: openssl-1.0.2-chacha/util/pod2mantest  
  inflating: openssl-1.0.2-chacha/util/pod2mantest.pod  
  inflating: openssl-1.0.2-chacha/util/point.sh  
  inflating: openssl-1.0.2-chacha/util/selftest.pl  
  inflating: openssl-1.0.2-chacha/util/shlib_wrap.sh  
  inflating: openssl-1.0.2-chacha/util/sp-diff.pl  
  inflating: openssl-1.0.2-chacha/util/speed.sh  
  inflating: openssl-1.0.2-chacha/util/src-dep.pl  
  inflating: openssl-1.0.2-chacha/util/ssleay.num  
  inflating: openssl-1.0.2-chacha/util/su-filter.pl  
  inflating: openssl-1.0.2-chacha/util/tab_num.pl  
  inflating: openssl-1.0.2-chacha/util/toutf8.sh  
  inflating: openssl-1.0.2-chacha/util/x86asm.sh  
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   315  100   315    0     0    486      0 --:--:-- --:--:-- --:--:--   486

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
./build-x86-64.sh: line 7: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'install'.  Stop.
>>> Complete
Removing intermediate container 48054589994b
 ---> c01d55f5c7e1
Step 5/12 : FROM ubuntu:16.04
 ---> b6f507652425
Step 6/12 : RUN useradd -rU tls-scan
 ---> Running in 4bc2de3e1f4a
Removing intermediate container 4bc2de3e1f4a
 ---> 4b67cf8dbb37
Step 7/12 : USER tls-scan
 ---> Running in 5cd00d1144a3
Removing intermediate container 5cd00d1144a3
 ---> a65ad0db775a
Step 8/12 : WORKDIR /usr/local/share/tls-scan/
 ---> Running in 9616b8a1ce02
Removing intermediate container 9616b8a1ce02
 ---> 3999fb8962d1
Step 9/12 : COPY --from=builder /usr/local/src/tls-scan/build-root/bin/tls-scan /usr/local/bin/tls-scan
COPY failed: stat usr/local/src/tls-scan/build-root/bin/tls-scan: file does not exist

I've simply cloned the repository and ran the Docker command as shown in description docker build -t tls-scan .

prbinu commented 2 years ago

Dockerfile is not updated for a while, i will look into it when i find some time. Meanwhile, I would suggest to build tls-scan from source or use binary distributed.

OpenPrunus commented 2 years ago

Hello, I have opened the PR #47 with the last zlib version. Docker is now building with it.

r7l commented 2 years ago

This is no longer an issue as it was fixed with the PR.