I made the changes suggested by you @alllexx88 agreed it really improves the packaging of this package. Thank you.
Search Criteria
Package Details: docker-desktop 4.38.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/docker-desktop.git (read-only, click to copy) |
---|---|
Package Base: | docker-desktop |
Description: | Docker Desktop is an easy-to-install application that enables you to locally build and share containerized applications and microservices. |
Upstream URL: | https://www.docker.com/products/docker-desktop/ |
Keywords: | docker |
Licenses: | custom: Docker Agreement |
Conflicts: | docker-buildx, docker-compose |
Provides: | docker-buildx, docker-compose |
Submitter: | gustavosbarreto |
Maintainer: | leandrocunha (xeeynamo) |
Last Packager: | xeeynamo |
Votes: | 15 |
Popularity: | 0.80 |
First Submitted: | 2023-06-30 21:07 (UTC) |
Last Updated: | 2025-01-30 16:28 (UTC) |
Dependencies (11)
- curl (curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR)
- desktop-file-utils (desktop-file-utils-gitAUR)
- docker (rancher-desktop-gitAUR, podman-docker-gitAUR, docker-gitAUR, rancher-desktopAUR, docker-cli-binAUR, podman-docker)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR, gtk3-classicAUR)
- libcap-ng (libcap-ng-gitAUR)
- libseccomp (libseccomp-gitAUR)
- libx11 (libx11-gitAUR)
- pass (pass-gitAUR, pass-parcelliteAUR, gopass-symlinksAUR)
- qemu (qemu-gitAUR, qemu-headless-gitAUR, qemu-base, qemu-desktop, qemu-full)
- shadow (shadow-selinuxAUR)
- w3m (w3m-rkta-gitAUR) (make)
Required by (36)
- 1panel (requires docker-compose) (optional)
- 1panel-bin (requires docker-compose) (optional)
- 1panel-dev-bin (requires docker-compose) (optional)
- 1panel-git (requires docker-compose) (optional)
- casaos (requires docker-compose)
- devc (requires docker-compose) (optional)
- devc-bin (requires docker-compose) (optional)
- devops-tools (requires docker-compose)
- docker-compose-systemd-unit (requires docker-compose)
- docker-git (requires docker-buildx) (optional)
- docksal (requires docker-compose)
- dojo (requires docker-compose)
- dojo-bin (requires docker-compose)
- dokku (requires docker-compose)
- gojira (requires docker-compose)
- goxygen (requires docker-compose)
- hangar-bin (requires docker-buildx)
- jasper-km-bin (requires docker-compose)
- kool (requires docker-compose)
- lando (requires docker-compose)
- Show 16 more...
Sources (1)
leandrocunha commented on 2024-10-07 16:55 (UTC)
leandrocunha commented on 2024-10-07 16:12 (UTC)
@mpark, see if you can get access as the package co-maintainer. I listed you.
leandrocunha commented on 2024-10-07 16:07 (UTC)
@alllexx88, I am studying how to include this, but it conflicts with buildx and compose, since it provides both and if I put it in the PKGBUILD it would avoid the need for the overwrite that I put in as a temporary solution. I am making the changes little by little.
@mpark, I appreciate your contribution and it would be interesting for you to be a co-maintainer of this package on merit as well.
alllexx88 commented on 2024-10-07 15:08 (UTC)
Hi @leandrocunha. Maybe it makes sense to add docker-compose
and docker-buildx
to "Conflicts" and "Provides"? And also add the version to the source binary tar name (or else on upgrade an older downloaded version causes checksum mismatch, needing to be removed manually)? Something like:
diff --git a/.SRCINFO b/.SRCINFO
index 6727fe5..e354a71 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = docker-desktop
pkgdesc = Docker Desktop is an easy-to-install application that enables you to locally build and share containerized applications and microservices.
pkgver = 4.34.2
- pkgrel = 2
+ pkgrel = 3
url = https://www.docker.com/products/docker-desktop/
install = docker-desktop.install
arch = x86_64
@@ -17,7 +17,11 @@ pkgbase = docker-desktop
depends = gtk3
depends = libx11
depends = shadow
- source = https://desktop.docker.com/linux/main/amd64/167172/docker-desktop-x86_64.pkg.tar.zst
+ provides = docker-compose
+ provides = docker-buildx
+ conflicts = docker-compose
+ conflicts = docker-buildx
+ source = docker-desktop-4.34.2-x86_64.tar.zst::https://desktop.docker.com/linux/main/amd64/167172/docker-desktop-x86_64.pkg.tar.zst
sha256sums = a5fd4cb4742e82bc1faeec553a5b289cfc2607699159548e5f29d8589dc253c6
pkgname = docker-desktop
diff --git a/PKGBUILD b/PKGBUILD
index fc1161a..be48b8e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,15 +3,17 @@
pkgname=docker-desktop
pkgver=4.34.2
_revision=167172
-pkgrel=2
+pkgrel=3
pkgdesc="Docker Desktop is an easy-to-install application that enables you to locally build and share containerized applications and microservices."
arch=('x86_64')
url="https://www.docker.com/products/docker-desktop/"
license=('custom: Docker Agreement')
depends=('docker>=24.0.6' 'curl' 'qemu>=8.0.4' 'libseccomp' 'libcap-ng' 'pass' 'desktop-file-utils' 'gtk3' 'libx11' 'shadow')
+conflicts=('docker-compose' 'docker-buildx')
+provides=('docker-compose' 'docker-buildx')
makedepends=('w3m')
install='docker-desktop.install'
-source=("https://desktop.docker.com/linux/main/amd64/$_revision/$pkgname-x86_64.pkg.tar.zst")
+source=("$pkgname-$pkgver-x86_64.tar.zst::https://desktop.docker.com/linux/main/amd64/$_revision/$pkgname-x86_64.pkg.tar.zst")
sha256sums=('a5fd4cb4742e82bc1faeec553a5b289cfc2607699159548e5f29d8589dc253c6')
package() {
Thanks
mpark commented on 2024-10-07 15:00 (UTC)
@leandrocunha Appreciated. I was waiting for the package to get orphaned myself to update it, having submitted the request, but honestly, I'm just happy for anyone to keep it up to date as I use this daily. I'd rather not continue to maintain my own fork of it outside of the AUR.
leandrocunha commented on 2024-10-07 02:08 (UTC) (edited on 2024-10-07 02:10 (UTC) by leandrocunha)
Important: If you have buildx and compose installed, you may need to uninstall the package or pass --overwrite "*" when installing it. This is happening because I am providing a more complete installation of this package for you.
Minor (but relevant): Another issue would be that you would need to start the docker.socket service without getting an error message, which would be common. If you don't, an error message will appear in builders and default option.
leandrocunha commented on 2024-10-07 01:16 (UTC)
@mpark, I still had to look at this to see the installation process, but I did what was most urgent, which was the update, and if you want, it is open to the co-maintainer of this package. I just took over this orphaned package.
mpark commented on 2024-10-06 23:18 (UTC)
I would like to note that this PKGBUILD produces an incomplete install, so you will be missing things like docker-init and whatnot. I have an earlier post to update the package() block to install the missing components.
leandrocunha commented on 2024-10-06 18:10 (UTC)
xunaix, execute updpkgsums, you can see that sha256sums has been updated in PKGBUILD for this version.
xunaix commented on 2024-10-06 17:32 (UTC)
someone know how to fix this?
docker-desktop-x86_64.pkg.tar.zst ... FAILED
==> ERROR: One or more files did not pass the validity check!
-> error making: docker-desktop-exit status 1
Pinned Comments
xeeynamo commented on 2025-01-30 16:31 (UTC)
Bump to 4.38.0
New:
Upgrades:
Bugfixes:
For Linux:
Deprecation:
leandrocunha commented on 2024-12-30 13:40 (UTC) (edited on 2024-12-30 13:41 (UTC) by leandrocunha)
Bump to 4.37.1
Bug fixes and enhancements
For all platforms
Fixed an issue that caused the AI Catalog in Docker Hub to be unavailable in Docker Desktop.
Fixed an issue that caused Docker Desktop to panic with index out of range [0] with length 0 when using Enhanced Container Isolation.
See https://docs.docker.com/desktop/release-notes/