feat: first build testing
All checks were successful
continuous-integration/drone/push Build is passing

- add README
- update build steps to use docker.sock
This commit is contained in:
Ben Vincent 2024-08-25 17:12:25 +10:00
parent e8cc0ac6db
commit 258828218d
2 changed files with 9 additions and 5 deletions

View File

@ -4,10 +4,7 @@ name: build-docker-image
steps:
- name: build
image: docker:20.10.24-dind
environment:
DOCKER_HOST: tcp://localhost:2375 # Docker daemon
DOCKER_TLS_CERTDIR: '' # Disable TLS to simplify DIND setup
image: docker:20.10.24-cli
volumes:
- name: dockersock
path: /var/run/docker.sock
@ -17,7 +14,8 @@ steps:
volumes:
- name: dockersock
temp: {}
host:
path: /var/run/docker.sock
trigger:
event:

6
README.md Normal file
View File

@ -0,0 +1,6 @@
# Docker Image Build: almalinux base
[![Build Status](https://droneci.query.consul/api/badges/unkin/docker-almalinux-base/status.svg)](https://droneci.query.consul/unkin/docker-almalinux-base)
This project provides a reproducible Docker image build process for `almalinux:8.10`, with custom YUM repository configurations and package installations. The build is automated using a `Makefile` and managed via Drone CI to ensure consistent and reliable Docker image builds.