Add yarn for default via npm package

This commit is contained in:
2022-08-30 20:44:34 +07:00
parent 302f400c39
commit d5e9587e42
6 changed files with 5 additions and 475 deletions

View File

@@ -86,10 +86,14 @@ RUN echo "Installing PNPM version: $PNPM_VERSION" && \
curl -fsSL "https://github.com/pnpm/pnpm/releases/download/v${PNPM_VERSION}/pnpm-linuxstatic-x64" -o /bin/pnpm && chmod +x /bin/pnpm && \
apk del curl
# Install yarn from npm package
RUN npm -g i yarn
# Checking packages version
RUN echo "NODE: $(node --version)" \
&& echo "NPM: $(npm --version)" \
&& echo "NPX: $(npx --version)" \
&& echo "YARN: $(yarn --version)" \
&& echo "PNPM: $(pnpm --version)"
COPY entrypoint.sh /usr/local/bin/