Raj*_*kar 1 ubuntu lint dockerfile
我是 ubuntu 的新手并在 3 天前安装了它。
我尝试了许多步骤,如https://github.com/hadolint/hadolint/ 中所述
但它仍然告诉:
hadolint: command not found
hadolint安装参考https://github.com/hadolint/hadolint/
我设法在 Windows 中安装了 hadolint,但是无法在 linux 上安装
此代码工作并安装预构建的二进制文件:
wget -O /bin/hadolint https://github.com/hadolint/hadolint/releases/download/v1.16.3/hadolint-Linux-x86_64
我不知道这些基本命令,因为我是 Ubuntu 新手