Skip to content

Instantly share code, notes, and snippets.

@Bash-Clevin
Bash-Clevin / Dockerfile
Created November 16, 2023 16:22
Build Ansible image with docker compose + Dockerfile
FROM ubuntu:23.10
WORKDIR /ansible
ENV TZ=Africa/Nairobi
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone \
&& apt update -y \
&& apt install -y tzdata software-properties-common \
&& add-apt-repository --yes --update ppa:ansible/ansible \