dvirlabs 282e279343
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Add custom Alpine CI image with git and yq pre-installed
- Created base-images/alpine-git-yq/Dockerfile with git, yq, curl, bash
- Added build scripts (build-alpine-ci-image.sh and .bat)
- Updated .woodpecker.yaml to use alpine-git-yq:3.19 instead of alpine:3.19
- Removed apk add commands from CI pipeline (packages now pre-installed)
- Added CI_IMAGE_SETUP.md with detailed setup instructions
- Solves Alpine package repository blocking in air-gapped cluster
2026-05-07 08:40:05 +03:00

21 lines
641 B
Docker

# 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"]