Hi guys, we are currently experiencing some proble...
# docker
c
Hi guys, we are currently experiencing some problems when building our project with `docker/sdk build`:
Copy code
#18 [builder_assets 4/4] RUN --mount=type=cache,target=/root/.npm     --moun...
#18       digest: sha256:84fc65636cfb613a1b0a18913ae58359f0ca84151aef5838ee611126e4bad69b
#18         name: "[builder_assets 4/4] RUN --mount=type=cache,target=/root/.npm     --mount=type=bind,from=spryker_app,source=/data/vendor,target=/data/vendor,readwrite     --mount=type=bind,from=spryker_app,source=/data/src,target=/data/src,readwrite     --mount=type=bind,from=spryker_app,source=/data/config,target=/data/config,readonly     find vendor -name package.json | while read file; do (         cd $(dirname $file);         npm install     ); done &&     npm run yves:production &&     npm run zed &&     chown -R spryker:spryker /assets"
#18      started: 2020-03-11 10:38:38.085605765 +0000 UTC
#18 1.564 up to date in 0.363s
#18 1.566 found 0 vulnerabilities
#18 1.566 
#18 4.598 npm WARN tar ENOENT: no such file or directory, open '/data/vendor/spryker/gui/assets/Zed/node_modules/.staging/jquery-ui-c7ae5110/external/jquery-2.2.4/LICENSE.txt'
#18 4.949 npm ERR! code 128
#18 4.951 npm ERR! Command failed: git clone --depth=1 -q -b v1.0.2 <https://git>@github.com/hubspot/pace.git /root/.npm/_cacache/tmp/git-clone-80186fc7
#18 4.951 npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-80186fc7': Permission denied
#18 4.951 npm ERR! 
#18 6.070 
#18 6.071 npm ERR! A complete log of this run can be found in:
#18 6.071 npm ERR!     /root/.npm/_logs/2020-03-11T10_38_43_038Z-debug.log
#18 8.360 npm ERR! code 128
#18 8.362 npm ERR! Command failed: git clone --depth=1 -q -b 0.1.1 <https://git>@github.com/mistic100/jQuery.extendext.git /root/.npm/_cacache/tmp/git-clone-d5b7a3aa
#18 8.362 npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-d5b7a3aa': Permission denied
#18 8.362 npm ERR! 
#18 8.367 
#18 8.367 npm ERR! A complete log of this run can be found in:
#18 8.368 npm ERR!     /root/.npm/_logs/2020-03-11T10_38_46_448Z-debug.log
#18 9.315 up to date in 0.398s
#18 9.317 found 0 vulnerabilities
#18 9.317 
#18 10.27 up to date in 0.393s
#18 10.27 found 0 vulnerabilities
#18 10.27 
#18 11.21 up to date in 0.379s
#18 11.21 found 0 vulnerabilities
#18 11.21 
#18 12.44 up to date in 0.675s
#18 12.44 found 0 vulnerabilities
#18 12.44 
#18 13.38 up to date in 0.387s
#18 13.38 found 0 vulnerabilities
#18 13.38 
#18 15.55 npm ERR! code 128
#18 15.56 npm ERR! Command failed: git clone --mirror -q <https://git>@github.com/spryker/jquery-query-builder.git /root/.npm/_cacache/tmp/git-clone-335f7473/.git
#18 15.56 npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-335f7473/.git'
#18 15.56 npm ERR! 
#18 15.57 
#18 15.57 npm ERR! A complete log of this run can be found in:
#18 15.57 npm ERR!     /root/.npm/_logs/2020-03-11T10_38_53_643Z-debug.log
Afterwards the build zed frontend command fails. Did anyone encounter this issues and can help us solving it?
docker version: 18.09.1 docker-sdk branch: assets/production
h
That’s related to changes in Alpine NPM distro. Fix is done. https://github.com/spryker/docker-sdk/pull/79 QA stage.
Also looking at the branch you use, I assume you would be interested in https://github.com/spryker/docker-sdk/pull/81
c
Hi Mike, thanks for the info. I already saw the PR on github. Do you have any time estimate when could it be merged?
h
I cannot promise but rough estimation would be 3-4 work days for both of them.