File tree Expand file tree Collapse file tree 4 files changed +36
-24
lines changed
Expand file tree Collapse file tree 4 files changed +36
-24
lines changed Original file line number Diff line number Diff line change 11FROM ibexa_php:latest
22
33# Install Node.js and Yarn
4- RUN apt-get update -q -y \
5- && apt-get install -q -y --no-install-recommends gnupg \
6- && curl -sL https://deb.nodesource.com/setup_12.x | bash - \
4+ RUN apt-get update -y \
5+ && apt-get install -y --no-install-recommends \
6+ ca-certificates curl gnupg \
7+ \
8+ && curl -fsSL https://deb.nodesource.com/setup_12.x | bash - \
79 && apt-get install -y nodejs \
8- && curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
9- && echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
10- && sudo apt-get update && sudo apt-get install yarn \
10+ \
11+ && corepack enable \
12+ && corepack prepare yarn@stable --activate \
13+ \
1114 && rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change 11FROM ibexa_php:latest
22
33# Install Node.js and Yarn
4- RUN apt-get update -q -y \
5- && apt-get install -q -y --no-install-recommends gnupg \
6- && curl -sL https://deb.nodesource.com/setup_14.x | bash - \
4+ RUN apt-get update -y \
5+ && apt-get install -y --no-install-recommends \
6+ ca-certificates curl gnupg \
7+ \
8+ && curl -fsSL https://deb.nodesource.com/setup_14.x | bash - \
79 && apt-get install -y nodejs \
8- && curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
9- && echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
10- && sudo apt-get update && sudo apt-get install yarn \
10+ \
11+ && corepack enable \
12+ && corepack prepare yarn@stable --activate \
13+ \
1114 && rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change 11FROM ibexa_php:latest
22
33# Install Node.js and Yarn
4- RUN apt-get update -q -y \
5- && apt-get install -q -y --no-install-recommends gnupg \
6- && curl -sL https://deb.nodesource.com/setup_16.x | bash - \
4+ RUN apt-get update -y \
5+ && apt-get install -y --no-install-recommends \
6+ ca-certificates curl gnupg \
7+ \
8+ && curl -fsSL https://deb.nodesource.com/setup_16.x | bash - \
79 && apt-get install -y nodejs \
8- && curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
9- && echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
10- && sudo apt-get update && sudo apt-get install yarn \
10+ \
11+ && corepack enable \
12+ && corepack prepare yarn@stable --activate \
13+ \
1114 && rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change 11FROM ibexa_php:latest
22
33# Install Node.js and Yarn
4- RUN apt-get update -q -y \
5- && apt-get install -q -y --no-install-recommends gnupg \
6- && curl -sL https://deb.nodesource.com/setup_18.x | bash - \
4+ RUN apt-get update -y \
5+ && apt-get install -y --no-install-recommends \
6+ ca-certificates curl gnupg \
7+ \
8+ && curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
79 && apt-get install -y nodejs \
8- && curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
9- && echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
10- && sudo apt-get update && sudo apt-get install yarn \
10+ \
11+ && corepack enable \
12+ && corepack prepare yarn@stable --activate \
13+ \
1114 && rm -rf /var/lib/apt/lists/*
You can’t perform that action at this time.
0 commit comments