mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-05 07:40:00 -04:00
grab ohmyzsh during build time, check for install
This commit is contained in:
+12
-2
@@ -1,6 +1,16 @@
|
||||
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"
|
||||
|
||||
# copy local files
|
||||
COPY root/ /
|
||||
# Add files from buildstage
|
||||
COPY --from=buildstage /root-layer/ /
|
||||
|
||||
Reference in New Issue
Block a user