Package Details: docker-language-server 0.20.1-1

Git Clone URL: https://aur.archlinux.org/docker-language-server.git (read-only, click to copy)
Package Base: docker-language-server
Description: Language server for Dockerfiles, Compose and Bake files
Upstream URL: https://github.com/docker/docker-language-server
Licenses: Apache
Submitter: Kharec
Maintainer: Kharec
Last Packager: Kharec
Votes: 1
Popularity: 0.012371
First Submitted: 2025-10-09 08:17 (UTC)
Last Updated: 2025-10-15 13:46 (UTC)

Latest Comments

ZhangHua commented on 2025-10-20 05:43 (UTC) (edited on 2025-10-20 05:44 (UTC) by ZhangHua)

Hey, Kharec, thank you for maintaining this package, but this PKGBUILD needs some improvements:

  • Change license name. Apache is not a valid SPDX License Identifier, it should be Apache-2.0 according to the license indicator on github webpage.
  • Rename source code tarball with filename contains pkgname and pkgver. This will avoid using wrong source tarball when we use a same fixed $SRCDEST for many PKGBUILDs, like creating a custom pacman repository. You can use ${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz to achieve that.
  • Change build() to meet Go package guidelines's requirements. This means we need to remove CGO_ENABLED=0 and add some other environment variables. Don't worry, I have tested and the build steps succeeded, program also works normally. If you removed CGO_ENABLED=0, then you need to add glibc in depends because the program binary depends on it.
  • Remove docker-langserver symbol link. Actually docker-language-server cannot replace dockerfile-language-server. Because docker-language-server's launch command is docker-language-server start --stdio, while dockerfile-language-server's is docker-langserver --stdio. Their parameters to launch are not same.