Open yuhaoth opened 2 years ago
From @bensze01 : to grab the exact image OpenCI is using:
docker pull trustedfirmware/ci-amd64-mbed-tls-ubuntu:ubuntu-16.04-$(git hash-object resources/docker_files/ubuntu-16.04/Dockerfile)
(from a checkout of https://github.com/Mbed-TLS/mbedtls-test)
tests/docker/bionic/Dockerfile might confuse developer, it should be removed.
Suggested enhancement
Below is my suggestion. That can reduce the maintain loading.
tests/docker/bionic/Dockerfile
*-in-docker.sh
anddocker-env.sh
Justification
Mbed TLS test environment depends on different version of OpenSSL, GnuTLS and compiler. It is not easy for developer to reproduce and figure out CI fail. We'd better provide a script or image to reproduce CI fail locally.
Docker files in mbedtls-test can be used as environment. But to build them locally still need some time. published images should be better choice. And
tests/docker/bionic/Dockerfile
might confuse developer, it should be removed.