#How to install a linux package inside the docker container
5 messages · Page 1 of 1 (latest)
I created a custom dockerfile with git-lfs included which solved my problem
hey, how did you do that?
I read https://pterodactyl.io/community/config/eggs/creating_a_custom_image.html#creating-the-dockerfile but I don't understand where the dockerfile is supposed to be put
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
here's the dockerfile I made
`FROM ubuntu:20.04 AS builder
RUN apt-get update &&
apt-get install -y git-lfs &&
apt-get clean &&
rm -rf /var/lib/apt/lists/*
FROM ghcr.io/pterodactyl/yolks:java_21
Copy the git-lfs binary from the builder stage
COPY --from=builder /usr/bin/git-lfs /usr/bin/git-lfs
Ensure git-lfs is installed correctly
RUN git lfs install`