Latest kopano/kopano_zpush docker image failed to build


  • Hi!

    The latest image what is updated 2020.08.12 on docker hub failed to build.
    I can deploy it without build but if i use with Dockerfile i got this error:
    mv: cannot move ‘core-10.0.6.406.e263d46-Debian_10-amd64’ to ‘core/core-10.0.6.406.e263d46-Debian_10-amd64’: Directory not empty
    ERROR: Service ‘zpush’ failed to build: The command ‘/bin/bash -o pipefail -c . /kopano/helper/create-kopano-repo.sh && if [ ${DOWNLOAD_COMMUNITY_PACKAGES} -eq 1 ]; then dl_and_package_community “core” “$DOWNLOAD_DISTRIBUTION” “$DOWNLOAD_CHANNEL” “$DOWNLOAD_BRANCH”; fi’ returned a non-zero code: 1

    The previous build was fine. And the 2.5.1 version also works fine.

  • Kopano

    Hi @vadonka,

    I just tried a local build of the docker image and for me it succeeds.

    How exactly did you run the build? Through the makefile? Do you see this only for the z-push image? Did you also pull/build the intermediate images?

    PS: I have moved your topic from the z-push subsection into the development one

    Edit: cross post with https://github.com/zokradonh/kopano-docker/issues/430


  • Hi!

    I just use the kopano_zpush image as a base. I just need the php curl extension because i use the zimbra backend with this.
    So im not build the whole image from scratch.


  • We have a full kopano deployement that is working fine. But we have an old zimbra server where i use the zpush too. I try to use the image without any build and its working. So if im deployed then install the php curl with docker exec its okay, but with the build not.

  • Kopano

    I have merged a pr that will skip the download performed in the onbuild step (which was your above failure) in https://github.com/zokradonh/kopano-docker/pull/432. So when you pull the latest image again your build should succeed.