# tinqs/ci base — shared foundation for all runner images
# Alpine + git + bash + curl + AWS CLI + ssh
# Every other image builds FROM this.

FROM alpine:3.23

RUN apk add --no-cache \
    bash git curl wget unzip tar \
    ca-certificates openssh-client \
    tzdata

# AWS CLI (needed by almost every workflow)
RUN curl -fsSL https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip -o /tmp/awscli.zip && \
    unzip -q /tmp/awscli.zip -d /tmp && \
    /tmp/aws/install && \
    rm -rf /tmp/awscli.zip /tmp/aws

RUN git --version && aws --version

WORKDIR /workspace
