Include full contents of all nested repositories

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-27 16:25:02 +01:00
parent 14ff8fd54c
commit 2401ed446f
7271 changed files with 1310112 additions and 6 deletions

View File

@@ -0,0 +1,42 @@
FROM debian:bookworm-slim
LABEL maintainer="LetsBe Cloud <hello@letsbe.solutions>"
LABEL description="LetsBe Ansible Runner - Containerized provisioning for Hub-triggered jobs"
# Install required packages
RUN apt-get update && apt-get install -y --no-install-recommends \
openssh-client \
sshpass \
jq \
curl \
ca-certificates \
openssl \
zip \
unzip \
&& rm -rf /var/lib/apt/lists/*
# Create directory structure
RUN mkdir -p /workspace /job /logs /output
# Copy scripts from the Ansible Setup Script
COPY scripts/ /workspace/scripts/
COPY stacks/ /workspace/stacks/
COPY nginx/ /workspace/nginx/
# Copy entrypoint
COPY entrypoint.sh /workspace/entrypoint.sh
# Make scripts executable and fix line endings
RUN chmod +x /workspace/entrypoint.sh /workspace/scripts/*.sh && \
find /workspace -type f -name "*.sh" -exec sed -i 's/\r$//' {} \;
WORKDIR /workspace
# Environment variables (to be provided at runtime)
ENV HUB_API_URL="https://hub.letsbe.solutions" \
JOB_ID="" \
RUNNER_TOKEN="" \
JOB_CONFIG_PATH="/job/config.json"
# Entrypoint
ENTRYPOINT ["/workspace/entrypoint.sh"]