Files
run-ansible-skydust/Dockerfile

18 lines
432 B
Docker

FROM public.ecr.aws/docker/library/node:22-alpine3.20
# PIPX Paths
ENV PATH=/root/.local/bin:$PATH
# Install git for gitea actions and ansible
RUN apk add --no-cache bash curl python3 pipx git rsync unzip openssh bash
RUN pipx install --include-deps ansible
ENV PY_COLOR="1"
ENV ANSIBLE_FORCE_COLOR="1"
WORKDIR /usr/src
COPY entrypoint.sh .
RUN chmod +x /usr/src/entrypoint.sh
ENTRYPOINT ["bash","-c","/usr/src/entrypoint.sh"]