Signed-off-by: Helen Xie <chenjg@harmonycloud.cn>
| ... | ... |
@@ -10,7 +10,7 @@ import ( |
| 10 | 10 |
|
| 11 | 11 |
// Backend abstracts an image builder whose only purpose is to build an image referenced by an imageID. |
| 12 | 12 |
type Backend interface {
|
| 13 |
- // Build builds a Docker image referenced by an imageID string. |
|
| 13 |
+ // BuildFromContext builds a Docker image referenced by an imageID string. |
|
| 14 | 14 |
// |
| 15 | 15 |
// Note: Tagging an image should not be done by a Builder, it should instead be done |
| 16 | 16 |
// by the caller. |