ArgoCD Dockerfile contains broken symlink (/app/config/ssh/ssh_known_hosts) #9672
Closed
3 tasks done
Labels
bug
Something isn't working
cherry-pick/2.4
Candidate for cherry picking into the 2.4 release branch
regression
Bug is a regression, should be handled with high priority
Checklist:
argocd version
.Describe the bug
I noticed that the Dockerfile contains a broken symlink. See https://github.com/argoproj/argo-cd/blob/master/Dockerfile#L66:
ln -s ssh_known_hosts /etc/ssh/ssh_known_hosts
(in WORKDIR /app/config/ssh)ln -s /app/config/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts
(in WORKDIR /app/config/ssh) insteadThe current code effectively creates the symlink /etc/ssh/ssh_known_hosts > /etc/ssh/ssh_known_hosts, which does not work because it loops to itself.
To Reproduce
Expected behavior
Screenshots
N/A
Version
argocd@b512e45c0d29:~$ argocd version argocd: v2.4.0+91aefab BuildDate: 2022-06-10T17:23:37Z GitCommit: 91aefabc5b213a258ddcfe04b8e69bb4a2dd2566 GitTreeState: clean GoVersion: go1.18.3 Compiler: gc Platform: linux/amd64 FATA[0001] Argo CD server address unspecified
Logs
N/A
The text was updated successfully, but these errors were encountered: