mirror of
https://github.com/zokradonh/kopano-docker.git
synced 2026-08-21 13:23:09 +00:00
BugFixes and optimizations
fix shellcheck warnings on download_community remove gzip chmod from dockerfile to script itself better error handling if filename returns empty apply fix to match download archives for both amd64 and all
This commit is contained in:
+3
-5
@@ -39,11 +39,9 @@ ARG ADDITIONAL_KOPANO_PACKAGES
|
||||
COPY download_community.sh /kopano/download_community.sh
|
||||
|
||||
RUN \
|
||||
# community download
|
||||
# community download
|
||||
[ ${DOWNLOAD_COMMUNITY_PACKAGES} -eq 1 ] && \
|
||||
chmod a+x /kopano/download_community.sh && \
|
||||
/kopano/download_community.sh core && \
|
||||
gzip -f9 Packages; \
|
||||
# install
|
||||
set -x && \
|
||||
echo ${KOPANO_CORE_VERSION} > /kopano/buildversion && \
|
||||
@@ -61,7 +59,7 @@ RUN \
|
||||
|
||||
ENV KOPANO_LOCALE="de_DE.UTF-8"
|
||||
ENV KOPANO_USERSCRIPT_LOCALE="de_DE.UTF-8"
|
||||
ENV LANG=en_US.UTF-8
|
||||
ENV LANG=en_US.UTF-8
|
||||
|
||||
ENV SERVICE_TO_START=server
|
||||
|
||||
@@ -70,4 +68,4 @@ RUN chmod a+x /kopano/start-service.sh
|
||||
|
||||
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
|
||||
|
||||
CMD [ "/kopano/start-service.sh" ]
|
||||
CMD [ "/kopano/start-service.sh" ]
|
||||
|
||||
Reference in New Issue
Block a user