Skip to content

Commit 6708c41

Browse files
committed
Added Argo CD to image
1 parent bb26561 commit 6708c41

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

Dockerfile

+7
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,13 @@ echo "::group::Install Kubernetes tools"
491491
)
492492
helm plugin list
493493
rm -rf /root/.cache
494+
495+
# install Argo CD CLI: https://argo-cd.readthedocs.io/en/stable/cli_installation/
496+
cd /usr/local/bin
497+
REL="https://github.com/argoproj/argo-cd/releases/latest"
498+
curl -sSLo argocd $REL/download/argocd-linux-$ARCH
499+
chmod +x argocd
500+
argocd version --client
494501
)
495502
echo "::endgroup::"
496503
EOT

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
al2023-devops
2-
-------------
1+
# [al2023-devops](https://github.com/erhhung/al2023-devops)
32

43
Multi-arch (x86_64/amd64 and aarch64/arm64) Docker image based on **Amazon Linux 2023** for DevOps use cases on AWS, such as CI/CD pipelines and admininistration of EKS workloads, including **interactive shell usage**.
54

@@ -20,6 +19,7 @@ Includes the following components:
2019
- Plugins: [Kubeconform](https://github.com/yannh/kubeconform) and [kube-score](https://github.com/zegl/kube-score)
2120
- [Helm](https://helm.sh/)
2221
- Plugins: [helm-diff](https://github.com/databus23/helm-diff) and [helm-ssm](https://github.com/codacy/helm-ssm)
22+
- [Argo CD](https://argo-cd.readthedocs.io/en/stable/)
2323

2424
As well as the following utilities:
2525
- [jq](https://stedolan.github.io/jq), [jo](https://github.com/jpmens/jo), and [yq](https://mikefarah.gitbook.io/yq)
@@ -33,7 +33,7 @@ As well as the following utilities:
3333

3434
## Prebuilt Images
3535

36-
Size is approximately 2.6 GB.
36+
Size is approximately 2.7 GB.
3737

3838
Images are available in the following repositories:
3939
- Docker Hub: [`docker.io/erhhung/al2023-devops`](https://hub.docker.com/repository/docker/erhhung/al2023-devops)

scripts/versions.sh

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ grelease() {
3535
curl -Is $1/releases/latest | sed -En 's/^location:.+\/tag\/(.+)\r$/\1/p'
3636
}
3737

38+
setver argocd $(v=(`argocd version --client --short`); v=${v[-1]#v}; echo ${v%+*})
3839
setver aws $(v=(`aws --version`); echo ${v[0]#*/})
3940
setver bash ${BASH_VERSION/%\(*/}
4041
setver bc $(v=(`bc --version | head -1`); echo ${v[-1]})

0 commit comments

Comments
 (0)