mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Wrap bun with safe-chain to block downloads of packages with malware
This commit is contained in:
parent
16c76de0f3
commit
43dcba8802
11 changed files with 184 additions and 5 deletions
|
|
@ -46,6 +46,9 @@ RUN volta install npm@${NPM_VERSION}
|
|||
RUN volta install yarn@${YARN_VERSION}
|
||||
RUN volta install pnpm@${PNPM_VERSION}
|
||||
|
||||
# Install Bun
|
||||
RUN curl -fsSL https://bun.sh/install | bash
|
||||
|
||||
# Copy and install Safe chain
|
||||
COPY --from=builder /app/*.tgz /pkgs/
|
||||
RUN npm install -g /pkgs/*.tgz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue