0
0
mirror of https://github.com/sp-tarkov/build.git synced 2025-02-12 17:10:45 -05:00
build/Dockerfile.node

21 lines
743 B
Docker
Raw Normal View History

# Use the Node v20.10.0 base image
FROM node:20.10.0
2024-03-04 21:46:32 -05:00
# Install necessary tools and dependencies
# - git (duh)
# - git-lfs (duh)
2024-03-06 15:09:37 -05:00
# - zstd (caching action dependency)
2024-03-04 21:46:32 -05:00
# - tree (pretty print build directory structure)
2024-03-06 15:09:37 -05:00
# - wget (to download megacmd)
# - gnupg (for adding MEGA.nz repo keys)
# - software-properties-common (adding repo)
2024-03-06 15:14:05 -05:00
# - p7zip-full (the goat)
RUN apt-get update && \
2024-03-06 15:14:05 -05:00
apt-get install -y git git-lfs zstd tree wget gnupg software-properties-common p7zip-full && \
rm -rf /var/lib/apt/lists/*
2024-03-06 15:09:37 -05:00
# Install the MegaCMD client
RUN wget https://mega.nz/linux/repo/Debian_12/amd64/megacmd-Debian_12_amd64.deb && \
dpkg -i megacmd-Debian_12_amd64.deb || apt-get install -fy && \
rm -f megacmd-Debian_12_amd64.deb