mash-playbook/Dockerfile

14 lines
280 B
Docker
Raw Normal View History

2024-09-15 17:17:46 +00: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