mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-02-04 20:49:31 +08:00
17 lines
315 B
Docker
17 lines
315 B
Docker
FROM lsiobase/alpine:3.12 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/ /
|