mash-playbook/Dockerfile

14 lines
280 B
Text
Raw Normal View History

2024-09-15 19:17:46 +02:00
FROM alpine:latest
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