Hi, May I suggest adding a symbolic link into the docker-compose port, so that the command "docker compose" (no dash) will be available in CRUX in addition to "docker-compose". (AFAIK the no dash version is the official one nowadays.) It should be as simple as adding the following lines into the docker-compose Pkgfile: mkdir -p ${PKG}/usr/lib/docker/cli-plugins ln -s /usr/bin/${name} ${PKG}/usr/lib/docker/cli-plugins/ -- Vitaly Sinilin <vs@kp4.ru>
On 2023-08-19 17:38, Vitaly Sinilin wrote:
Hi,
May I suggest adding a symbolic link into the docker-compose port, so that the command "docker compose" (no dash) will be available in CRUX in addition to "docker-compose". (AFAIK the no dash version is the official one nowadays.)
Hello, Done in the latest docker and docker-compose commits. Thanks for the suggestion. Regards, Matt
On Mon, 21 Aug 2023 13:47:38 -0500 Matt Housh <jaeger@crux.ninja> wrote:
Done in the latest docker and docker-compose commits.
Cool! One more thing I noticed about docker-compose on CRUX is that it gives useless output for version request: $ docker-compose --version Docker Compose version dev While official binary gives something sensible: $ ./docker-compose-linux-x86_64 --version Docker Compose version v2.20.3 Not sure how to properly fix it. My wild guess is to change line go build -trimpath -o ${name} ./cmd to make VERSION=v${version} build But I haven't tried it myself. -- Vitaly Sinilin <vs@kp4.ru>
On 2023-08-21 16:54, Vitaly Sinilin wrote:
On Mon, 21 Aug 2023 13:47:38 -0500 Matt Housh <jaeger@crux.ninja> wrote:
Done in the latest docker and docker-compose commits.
Cool! One more thing I noticed about docker-compose on CRUX is that it gives useless output for version request:
Also fixed, thanks for the suggestion. Regards, Matt
Seeing this, may i suggest removing these two from .footprint of qemu-all (some time)? /var/run is a symlink here, .. that may possibly even vanish somewhen. drwxr-xr-x root/root var/ drwxr-xr-x root/root var/run/ --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)
participants (3)
-
Matt Housh
-
Steffen Nurpmeso
-
Vitaly Sinilin