Added workaround for optimizing docker