mirror of
https://github.com/sp-tarkov/build.git
synced 2025-02-12 17:10:45 -05:00
29 lines
1.0 KiB
Docker
29 lines
1.0 KiB
Docker
# Use the Node v20.10.0, Debian 12 base image
|
|
FROM node:20.10.0-bookworm
|
|
|
|
# Install necessary tools and dependencies
|
|
# - wget (for downloading MegaCMD)
|
|
# - git (duh)
|
|
# - git-lfs (duh)
|
|
# - zstd (caching action dependancy)
|
|
# - tree (pretty print build directory structure)
|
|
# - p7zip-full (the goat)
|
|
# - sshpass (for automated SSH authentication)
|
|
# - lftp (for automated SFTP commands)
|
|
RUN apt-get update && \
|
|
apt-get install -y wget git git-lfs zstd tree p7zip-full sshpass lftp && \
|
|
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 && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists/*
|