mirror of
https://github.com/containers/podman
synced 2024-10-20 09:13:46 +00:00
334d3b1ef3
For using the `registry:2.6` image. 2.7 and beyond dropped the `htpasswd` binary from the rootfs which parts of our CI depends on. While this is not a sustainable solution (assuming `htpasswd` is gone for ever), it unblocks the CI for now. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
25 lines
733 B
Go
25 lines
733 B
Go
// +build varlink
|
|
|
|
package endpoint
|
|
|
|
import "encoding/json"
|
|
|
|
var (
|
|
STORAGE_FS = "vfs"
|
|
STORAGE_OPTIONS = "--storage-driver vfs"
|
|
ROOTLESS_STORAGE_FS = "vfs"
|
|
ROOTLESS_STORAGE_OPTIONS = "--storage-driver vfs"
|
|
CACHE_IMAGES = []string{ALPINE, BB, fedoraMinimal, nginx, redis, registry, infra, labels}
|
|
nginx = "quay.io/libpod/alpine_nginx:latest"
|
|
BB_GLIBC = "docker.io/library/busybox:glibc"
|
|
registry = "docker.io/library/registry:2.6"
|
|
labels = "quay.io/libpod/alpine_labels:latest"
|
|
)
|
|
|
|
func makeNameMessage(name string) string {
|
|
n := make(map[string]string)
|
|
n["name"] = name
|
|
b, _ := json.Marshal(n)
|
|
return string(b)
|
|
}
|