diff --git a/Dockerfile b/Dockerfile index d268858..6c1226e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ ARG KUBE_RELEASE=v1.30.2 ARG YQ_VERSION=v4.44.2 ARG NODE_VERSION=20.x ARG PNPM_VERSION=v9.5.0 +ARG UBUNTU_CODENAME=jammy RUN set -eux; \ apt-get update; \ @@ -11,9 +12,18 @@ RUN set -eux; \ ca-certificates \ curl \ git \ + gpg \ openssh-client \ ; \ install -m 0755 -d /etc/apt/keyrings; \ + curl -sSL "https://keyserver.ubuntu.com/pks/lookup?fingerprint=on&op=get&search=0x6125E2A8C77F2818FB7BD15B93C4A3FD7BB9C367" \ + > /etc/apt/keyrings/ansible.asc \ + ; \ + echo \ + "deb [signed-by=/etc/apt/keyrings/ansible.asc] \ + http://ppa.launchpad.net/ansible/ansible/ubuntu \ + $UBUNTU_CODENAME main" \ + > /etc/apt/sources.list.d/ansible.list; \ curl -sSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc; \ chmod a+r /etc/apt/keyrings/docker.asc; \ echo \ @@ -23,6 +33,7 @@ RUN set -eux; \ > /etc/apt/sources.list.d/docker.list; \ apt-get update; \ apt-get install -y --no-install-recommends \ + ansible \ docker-ce-cli \ docker-buildx-plugin \ docker-compose-plugin \ @@ -41,5 +52,6 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* # References: +# - ansible: https://docs.ansible.com/ansible/latest/installation_guide/installation_distros.html#installing-ansible-on-debian # - docker: https://docs.docker.com/engine/install/debian/#install-from-a-package # - node: https://github.com/nodesource/distributions#installation-instructions-deb diff --git a/Readme.md b/Readme.md index e5d77ec..d35c954 100644 --- a/Readme.md +++ b/Readme.md @@ -4,6 +4,7 @@ Common docker image used for running application builds, CI pipelines, and deplo ## Tools included +- `ansible` - https://www.ansible.com/ - `docker` - `curl` - `git`