java.lang.AssertionError: HostConfig
Expected: SecurityOpt
but none found
    at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:668)
    at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:145)
    at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:128)
    at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:66)
    at org.springframework.boot.buildpack.platform.build.LifecycleTests.lambda$withExpectedConfig$5(LifecycleTests.java:382)
    at org.springframework.boot.buildpack.platform.build.LifecycleTests.assertPhaseWasRun(LifecycleTests.java:369)
    at org.springframework.boot.buildpack.platform.build.LifecycleTests.executeWithSecurityOptionsExecutesPhases(LifecycleTests.java:265)
    at java.lang.reflect.Method.invoke(Method.java:568)
    at java.util.ArrayList.forEach(ArrayList.java:1511)
    at java.util.ArrayList.forEach(ArrayList.java:1511)

Labelled as a task for now assuming that the test needs to be adapted. It may be a bug.