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

27 lines
948 B
Docker
Raw Normal View History

# Use the Node v20.10.0, Debian 12 base image
FROM node:20.10.0-bookworm
2024-03-04 21:46:32 -05:00
# Install necessary tools and dependencies
# - wget (for downloading MegaCMD)
2024-03-04 21:46:32 -05:00
# - git (duh)
# - git-lfs (duh)
2024-03-06 16:10:05 -05:00
# - zstd (caching action dependancy)
2024-03-04 21:46:32 -05:00
# - tree (pretty print build directory structure)
2024-03-06 15:14:05 -05:00
# - p7zip-full (the goat)
RUN apt-get update && \
apt-get install -y wget git git-lfs zstd tree p7zip-full && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# - MegaCMD (for uploading to Mega.nz)
# - libc-ares2 (MegaCMD dependancy)
# - libmediainfo0v5 (MegaCMD dependancy)
# - libpcrecpp0v5 (MegaCMD dependancy)
# - libzen0v5 (MegaCMD dependancy)
RUN apt-get update && \
apt-get install -y libc-ares2 libmediainfo0v5 libpcrecpp0v5 libzen0v5 && \
wget https://mega.nz/linux/repo/Debian_12/amd64/megacmd-Debian_12_amd64.deb && \
dpkg -i megacmd-Debian_12_amd64.deb && \
2024-03-06 16:10:05 -05:00
apt-get clean && \
rm -rf /var/lib/apt/lists/*