Closed stefangweichinger closed 5 months ago
14:13:04 @frodo ~$ docker run ghcr.io/manugarg/pactester:main
pactester.c: You didn't specify the PAC file
Usage: /app/pactester <-p pacfile> <-u url> [-h host] [-c client_ip] [-e]
/app/pactester <-p pacfile> <-f urlslist> [-c client_ip] [-e]
Options:
-p pacfile : PAC file to test (specify '-' to read from standard input)
-u url : URL to test for
-h host : Host part of the URL
-c client_ip : client IP address (as returned by myIpAddres() function
in PAC files), defaults to IP address on which it is running.
-e : Deprecated: IPv6 extensions are enabledby default now.
-f urlslist : a file containing list of URLs to be tested.
-v : print version and exit
Not sure what's going on when you build it, but it may be an architecture issue. Which platform are you building it on?
Also see how project builds this docker image: https://github.com/manugarg/pacparser/blob/ee84e9824747f2f6bca054b5c2a05f53f479be72/Makefile#L19
Could you provide an example for using the docker-image? I built the image:
and try something like:
help appreciated!