2024-03-30 21:19:26 +00:00
|
|
|
FROM python:3.12.2-slim-bookworm
|
|
|
|
|
2024-03-30 22:37:58 +00:00
|
|
|
RUN apt-get update > /dev/null && \
|
|
|
|
apt-get install -y -qq nodejs git > /dev/null && \
|
|
|
|
apt-get clean > /dev/null && \
|
2024-03-30 21:19:26 +00:00
|
|
|
useradd -m --uid 1010 --shell /bin/bash ansible
|
|
|
|
|
|
|
|
USER 1010
|
|
|
|
|
2024-03-30 22:37:58 +00:00
|
|
|
RUN pip install --user ansible > /dev/null && \
|
2024-03-30 21:19:26 +00:00
|
|
|
echo 'export PATH="$HOME/.local/bin:$PATH"' >> $HOME/.bashrc
|
|
|
|
|
|
|
|
ENTRYPOINT ["/bin/bash"]
|