docker-mods/Dockerfile
2023-05-17 16:43:04 -04:00

19 lines
347 B
Docker

# syntax=docker/dockerfile:1
FROM lsiobase/alpine:3.17 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/ /