Updated to version 4.34.3
This package has been tested and is operating normally.
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 (mpark) |
Last Packager: | mpark |
Votes: | 14 |
Popularity: | 0.68 |
First Submitted: | 2023-06-30 21:07 (UTC) |
Last Updated: | 2024-12-12 21:00 (UTC) |
Updated to version 4.34.3
This package has been tested and is operating normally.
Thank you @leandrocunha :)
@mpark, great, that's right.
@leandrocunha yeah, I have access. Better 2 maintainers than one - so it gets updated when one of us is busy.
I made the changes suggested by you @alllexx88 agreed it really improves the packaging of this package. Thank you.
@mpark, see if you can get access as the package co-maintainer. I listed you.
@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.
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
@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.
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.
Pinned Comments
mpark commented on 2024-11-19 03:59 (UTC)
Updated to 4.36.0