fix(ci): inclure GNU tar pour le cache pnpm

This commit is contained in:
Manus AI
2026-08-18 12:50:48 +00:00
parent 35206fb14b
commit 666e0be2a2
2 changed files with 6 additions and 3 deletions

View File

@@ -1,8 +1,11 @@
# Image locale de CI : Node 22, Bash, Git et le pnpm exact du workspace Contacts.
# Image locale de CI : Node 22, Bash, Git, GNU tar et le pnpm exact du workspace Contacts.
# Les jobs n'ont donc plus à télécharger ou installer ces outils à chaque exécution.
FROM node:22-alpine
RUN apk add --no-cache bash git \
# actions/cache requiert GNU tar et l’invoque via /bin/tar.
RUN apk add --no-cache bash git tar \
&& ln -sf /usr/bin/tar /bin/tar \
&& tar --version | grep -q 'GNU tar' \
&& corepack enable \
&& corepack prepare pnpm@10.4.1 --activate \
&& pnpm --version