@Override
    public void setExposedPorts(List<Integer> exposedPorts) {
        this.containerDef.exposedPorts.clear();
        for (Integer exposedPort : exposedPorts) {
            this.containerDef.addExposedTcpPort(exposedPort);
        }
    }
@deprecated use {@link #GenericContainer(DockerImageName)} instead
core/src/main/java/org/testcontainers/containers/GenericContainer.java