diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-08-03 02:49:07 +0000 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-08-03 02:50:57 +0000 |
commit | 2534e6a07ccc0f30a7859b04c956ae3909c96643 (patch) | |
tree | d68f960f4f6a332d28a8c6015d1f4144541c100b | |
parent | daef2c973323d9bc6c3de790b002bd3791db1b37 (diff) | |
download | meta-virtualization-2534e6a07ccc0f30a7859b04c956ae3909c96643.tar.gz |
docker: use nobranch
The upstream repository has both removed tags and
renamed branches.
To prevent some of these failures in the future,
let's run with nobranch=1 for a bit.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r-- | recipes-containers/docker/README.rootless | 39 | ||||
-rw-r--r-- | recipes-containers/docker/docker-moby_git.bb | 4 |
2 files changed, 41 insertions, 2 deletions
diff --git a/recipes-containers/docker/README.rootless b/recipes-containers/docker/README.rootless new file mode 100644 index 00000000..973d72e9 --- /dev/null +++ b/recipes-containers/docker/README.rootless | |||
@@ -0,0 +1,39 @@ | |||
1 | 1 docker pull alpine | ||
2 | 2 cd /var/lib/containers/storage/ | ||
3 | 3 ll | ||
4 | 4 ls | ||
5 | 5 ls -alF | ||
6 | 6 ls overlay | ||
7 | 7 ls overlay/ | ||
8 | 8 ls overlay/d4fc045c9e3a848011de66f34b81f052d4f2c15a17bb196d637e526349601820/ | ||
9 | 9 ll | ||
10 | 10 ls -alF | ||
11 | 11 cd .. | ||
12 | 12 ls -alF | ||
13 | 13 ls cache/ | ||
14 | 14 cd storage/ | ||
15 | 15 ll | ||
16 | 16 ls alF | ||
17 | 17 ls -alF | ||
18 | 18 ls | ||
19 | 19 cd | ||
20 | 20 skopeo | ||
21 | 21 ls /var/lib/docker/ | ||
22 | 22 ls /var/lib/docker/ | ||
23 | 23 cd /var/lib/docker/ | ||
24 | 24 ll | ||
25 | 25 alias ll="ls -alF" | ||
26 | 26 ll | ||
27 | 27 ls containers/ | ||
28 | 28 ls overlay2/ | ||
29 | 29 skopeo --help | ||
30 | 30 skopeo copy | ||
31 | 31 docker images | ||
32 | 32 cd | ||
33 | 33 skopeo copy docker-daemon:alpine oci:alpine | ||
34 | 34 skopeo copy docker-daemon:alpine:latest oci:alpine | ||
35 | 35 ls alpine/ | ||
36 | 36 skopeo copy oci:alpine docker-daemon:bruce:latest | ||
37 | 37 docker images | ||
38 | 38 docker run -it bruce /bin/sh | ||
39 | |||
diff --git a/recipes-containers/docker/docker-moby_git.bb b/recipes-containers/docker/docker-moby_git.bb index b4576de9..1b74bd80 100644 --- a/recipes-containers/docker/docker-moby_git.bb +++ b/recipes-containers/docker/docker-moby_git.bb | |||
@@ -49,9 +49,9 @@ SRCREV_libnetwork = "67e0588f1ddfaf2faf4c8cae8b7ea2876434d91c" | |||
49 | SRCREV_cli = "d41cb083c352853f94b292a87df4859c4a96dcc2" | 49 | SRCREV_cli = "d41cb083c352853f94b292a87df4859c4a96dcc2" |
50 | SRCREV_FORMAT = "moby_libnetwork" | 50 | SRCREV_FORMAT = "moby_libnetwork" |
51 | SRC_URI = "\ | 51 | SRC_URI = "\ |
52 | git://github.com/moby/moby.git;branch=27.0;name=moby;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \ | 52 | git://github.com/moby/moby.git;nobranch=1;name=moby;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \ |
53 | git://github.com/docker/libnetwork.git;branch=master;name=libnetwork;destsuffix=git/libnetwork;protocol=https \ | 53 | git://github.com/docker/libnetwork.git;branch=master;name=libnetwork;destsuffix=git/libnetwork;protocol=https \ |
54 | git://github.com/docker/cli;branch=27.0;name=cli;destsuffix=git/cli;protocol=https \ | 54 | git://github.com/docker/cli;nobranch=1;name=cli;destsuffix=git/cli;protocol=https \ |
55 | file://docker.init \ | 55 | file://docker.init \ |
56 | file://0001-libnetwork-use-GO-instead-of-go.patch \ | 56 | file://0001-libnetwork-use-GO-instead-of-go.patch \ |
57 | file://0001-cli-use-external-GO111MODULE-and-cross-compiler.patch \ | 57 | file://0001-cli-use-external-GO111MODULE-and-cross-compiler.patch \ |