https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37302

--- Comment #7 from Tomás Cohen Arazi <[email protected]> ---
(In reply to Tomás Cohen Arazi from comment #5)
> (In reply to Jonathan Druart from comment #4)
> > Totally agree, and then we should remove it from ktd's Dockerfiles
> > 
> > 126 # Install some tool
> > 127 RUN yarn global add gulp-cli swagger-cli
> 
> What is the reasoning here?

Ok, just read your conversation on mattermost and got it.

The relevant bit on the docker file is:

# Embed /kohadevbox/node_modules
RUN cd /kohadevbox \
    && wget -q
https://gitlab.com/koha-community/Koha/-/raw/main/package.json?inline=false -O
package.json \
    && wget -q
https://gitlab.com/koha-community/Koha/-/raw/main/yarn.lock?inline=false -O
yarn.lock \
    && yarn install --modules-folder /kohadevbox/node_modules \
    && mv /root/.cache/Cypress /kohadevbox && chown -R 1000 /kohadevbox/Cypress
\
    && rm -f package.json yarn.lock

That's where and how the node_modules dir is built. If you wanted to reproduce
locally.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to