# Alpine with git and yq pre-installed for CI/CD
# 
# IMPORTANT: This image MUST be built on a machine with internet access!
# It needs to download packages from Alpine repositories.
#
# Build instructions:
#   docker build -t harbor.dvirlabs.com/base-images/alpine-git-yq:3.19 .
#   docker login harbor.dvirlabs.com
#   docker push harbor.dvirlabs.com/base-images/alpine-git-yq:3.19
#
FROM alpine:3.19

# Install git and yq while we have internet access
# This should be built on a machine with internet and pushed to Harbor
RUN apk add --no-cache git yq curl bash

# Verify installations
RUN git --version && yq --version

CMD ["/bin/sh"]
