This commit is contained in:
root committed 2024-02-28 12:42:50 +02:00
commit 72c4d16448
37 files changed
+1126

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
FROM debian:bullseye
RUN apt update && \
apt install -y gnupg2 python3 python3-pip curl wget && \
apt update && \
apt install -y ansible && \
pip3 install "ansible-lint[community,yamllint]" && \
pip3 install --upgrade docker && \
pip3 install --upgrade docker-compose && \
rm -rf /var/cache/apk/*
RUN ansible-galaxy collection install \
community.docker
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT [ "/entrypoint.sh" ]
CMD ["ansible-playbook"]
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
## Do whatever you need with env vars here ...
chmod 0600 ${PROJECT_SSH_KEY}
# Hand off to the CMD
exec "$@"