Closed aelsabbahy closed 1 week ago
Seems re-using :latest is a bad idea since travis-ci seems to cache it now.
Next up will be modifying this PR to use pinned docker tags. image_name:$(sum of dockerfile)
Will also investigate what's causing alpine to behave differently. I wonder if it's as simple as tcp6 :thinking:
-opts=(--env OS=$os --cap-add SYS_ADMIN -v "$PWD/goss:/goss" -d --name "$container_name" --security-opt seccomp:unconfined --security-opt label:disable)
+opts=(--env OS=$os --cap-add SYS_ADMIN -v "$PWD/goss:/goss" -d --name "$container_name" --security-opt seccomp:unconfined --security-opt label:disable --privileged)
I did a lot of tests. Mostly I had localy trouble with this line. Perhaps Travis CI has changed this rights management.
I can reproduce this with GH action. Also with alpine:3.12.
Apache2 does not listen on IPv4. Either port 80 nor 8080. I have no problems on my local machine.
I tried it on port 8080:
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.11:37453 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:8888 0.0.0.0:* LISTEN -
tcp 0 0 :::8888 :::* LISTEN -
tcp 0 0 :::8080 :::* LISTEN 168/httpd
fixed by #937
Checklist
make test-all
(UNIX) passes. CI will also test thisDescription of change
Alpine integration test is failing consistently as of late. Reverting to old alpine version to see if that resolves the issue.