Updated to use cont-init.d logic and added local translation option.

This commit is contained in:
Alexander Schomburg
2021-11-30 20:45:22 +01:00
parent 197b7c62f1
commit 06f7b7bfb4
4 changed files with 38 additions and 23 deletions
+10 -5
View File
@@ -1,10 +1,15 @@
FROM lsiobase/alpine:3.11 as buildstage
# copy local files
COPY root/ /root-layer/
# runtime stage
FROM scratch
LABEL maintainer="alexschomb"
# copy local files
COPY root/ /
# Add files from buildstage
COPY --from=buildstage /root-layer/ /
# install translations
RUN chmod +x /install-translations.sh
CMD /install-translations.sh
# volumes
VOLUME /translations