FROM ubuntu:jammy-20260217
LABEL maintainer="BuildAgent"
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y && \
apt-get install -y --no-install-recommends git ca-certificates build-essential curl && \
rm -rf /var/lib/apt/lists/*
WORKDIR /workspace
# Copy the repository into the image
COPY . /workspace
# Prepare a minimal Linux-native stub as a placeholder build artifact
RUN mkdir -p /workspace/bin
RUN mkdir -p /workspace/stub
RUN cat <<'EOF' > /workspace/stub/main.c
#include <stdio.h>
int main(int argc, char **argv) {
printf("This Linux container cannot build iOS/macOS apps. Build must be performed on macOS with Xcode.\n");
return 0;
}
EOF
RUN gcc /workspace/stub/main.c -o /workspace/bin/ios_stub
# Default command is the stub binary; this container demonstrates tooling without macOS/Xcode
CMD ["/workspace/bin/ios_stub"]