init: Start dotfiles with a test container to verify installation.
This commit is contained in:
commit
9232cf030b
10 changed files with 465 additions and 0 deletions
14
Dockerfile
Normal file
14
Dockerfile
Normal 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" ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue