init: Start dotfiles with a test container to verify installation.

This commit is contained in:
Matthew Binning 2025-03-29 14:02:53 -07:00
commit 9232cf030b
10 changed files with 465 additions and 0 deletions

14
Dockerfile Normal file
View file

@ -0,0 +1,14 @@
ARG BASE_REGISTRY=docker.io
ARG BASE_IMAGE=alpine
ARG BASE_TAG=latest
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} AS base
RUN apk update && \
apk upgrade && \
apk add make
FROM base as test
RUN adduser -D user
USER user
WORKDIR /home/user/dotfiles
COPY --chown=user ./ ./
ENTRYPOINT [ "make" ]