mash-playbook/Dockerfile

14 lines
278 B
Docker
Raw Normal View History

2024-09-16 06:03:04 +00:00
FROM alpine:3.20
2024-09-15 17:17:46 +00:00
ENV ANSIBLE_LOG_PATH=" "
WORKDIR /playbook
ENTRYPOINT ["/bin/sh"]
RUN apk add --no-cache ansible ansible-core py3-passlib git openssh-client just
COPY . /playbook
RUN git rev-parse HEAD > /playbook/source-commit && \
rm -rf /playbook/.git && \
just roles