14 lines
213 B
Go
14 lines
213 B
Go
|
package container
|
||
|
|
||
|
import (
|
||
|
"log"
|
||
|
|
||
|
"dagger.io/dagger"
|
||
|
)
|
||
|
|
||
|
func LoadImage(client *dagger.Client, image string) *dagger.Container {
|
||
|
log.Printf("loading image: %s", image)
|
||
|
|
||
|
return client.Container().From(image)
|
||
|
}
|