docker-mods/Dockerfile
2025-12-31 12:44:18 -05:00

19 lines
368 B
Docker

# syntax=docker/dockerfile:1
FROM lscr.io/linuxserver/baseimage-alpine:3.23 AS buildstage
RUN \
apk add --no-cache \
git && \
git clone https://github.com/ohmyzsh/ohmyzsh.git /root-layer/.oh-my-zsh
COPY root/ /root-layer/
# runtime stage
FROM scratch
LABEL maintainer="MiguelNdeCarvalho"
# Add files from buildstage
COPY --from=buildstage /root-layer/ /