ansible-actions-container/Dockerfile
Elia el Lazkani 2acba51aaa
Some checks failed
build-container / docker (push) Failing after 3m19s
chore(): Adds a build container pipeline and a working Dockerfile
2024-03-30 22:19:26 +01:00

13 lines
315 B
Docker

FROM python:3.12.2-slim-bookworm
RUN apt-get update && \
apt-get install -y -qq nodejs git && \
apt-get clean && \
useradd -m --uid 1010 --shell /bin/bash ansible
USER 1010
RUN pip install --user ansible && \
echo 'export PATH="$HOME/.local/bin:$PATH"' >> $HOME/.bashrc
ENTRYPOINT ["/bin/bash"]