2024-02-05 18:27:57 -05:00
|
|
|
FROM catthehacker/ubuntu:act-latest
|
|
|
|
|
|
|
|
# Install APT packages
|
|
|
|
|
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get install -y \
|
|
|
|
libcairo2-dev \
|
|
|
|
libfreetype6-dev \
|
|
|
|
libffi-dev \
|
|
|
|
libjpeg-dev \
|
|
|
|
libpng-dev \
|
|
|
|
libz-dev \
|
|
|
|
pngquant \
|
|
|
|
python3.10-dev
|
|
|
|
|
|
|
|
# Install Nodejs
|
|
|
|
|
|
|
|
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
|
|
|
|
apt-get install -y nodejs && \
|
|
|
|
node --version
|
|
|
|
|
|
|
|
# Install Meli CLI
|
|
|
|
|
|
|
|
RUN npm install -g @getmeli/cli@1.2.0
|
|
|
|
|
|
|
|
# Install Poetry
|
|
|
|
|
|
|
|
RUN pip install -U click packaging colorama zipp distro importlib-metadata
|
|
|
|
RUN pip install poetry
|
|
|
|
RUN poetry config virtualenvs.create false
|
|
|
|
|
|
|
|
# Install dependencies
|
|
|
|
|
2024-02-05 18:38:10 -05:00
|
|
|
RUN curl -sSL https://www.coastalcommits.com/GalacticFactory/GalacticFactory/raw/branch/master/pyproject.toml -o pyproject.toml
|
|
|
|
RUN curl -sSL https://www.coastalcommits.com/GalacticFactory/GalacticFactory/raw/branch/master/poetry.lock -o poetry.lock
|
2024-02-05 18:27:57 -05:00
|
|
|
RUN poetry install --no-root
|
2024-03-30 22:10:05 -04:00
|
|
|
|
|
|
|
# Install Prism Launcher
|
|
|
|
RUN curl -q 'https://proget.makedeb.org/debian-feeds/prebuilt-mpr.pub' | gpg --dearmor | sudo tee /usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg 1> /dev/null
|
|
|
|
RUN echo "deb [signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] https://proget.makedeb.org prebuilt-mpr $(lsb_release -cs)" | sudo tee /etc/apt/sources.list.d/prebuilt-mpr.list
|
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get install prismlauncher -y
|