2024-01-06 21:56:28 -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
|
|
|
|
|
2024-01-07 06:30:29 -05:00
|
|
|
# Install Nodejs
|
|
|
|
|
2024-01-07 06:45:44 -05:00
|
|
|
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
|
|
|
|
apt-get install -y nodejs && \
|
|
|
|
node --version
|
2024-01-07 06:52:12 -05:00
|
|
|
|
2024-01-07 07:07:25 -05:00
|
|
|
# Install Meli CLI
|
|
|
|
|
|
|
|
RUN npm install -g @getmeli/cli@1.2.0
|
|
|
|
|
2024-01-07 06:30:29 -05:00
|
|
|
# Set up deadsnakes PPA
|
|
|
|
|
|
|
|
RUN add-apt-repository ppa:deadsnakes/ppa -y
|
|
|
|
|
|
|
|
# Install Python 3.11
|
2024-01-06 21:56:28 -05:00
|
|
|
|
|
|
|
RUN apt-get install -y \
|
|
|
|
python3.11 \
|
|
|
|
python3.11-dev \
|
|
|
|
python3.11-venv
|
2024-01-07 06:30:29 -05:00
|
|
|
RUN python3.11 --version
|
2024-01-06 21:56:28 -05:00
|
|
|
|
|
|
|
# Install Poetry
|
|
|
|
|
2024-01-07 07:16:03 -05:00
|
|
|
RUN python3.11 -m pip install -U click packaging colorama zipp distro importlib-metadata
|
2024-01-07 06:52:12 -05:00
|
|
|
RUN python3.11 -m pip install poetry
|
2024-03-07 21:30:22 -05:00
|
|
|
RUN poetry config virtualenvs.in-project true
|
2024-01-07 06:58:10 -05:00
|
|
|
|
|
|
|
# Install dependencies
|
|
|
|
|
2024-02-05 18:38:10 -05:00
|
|
|
RUN curl -sSL https://www.coastalcommits.com/SeaswimmerTheFsh/SeaCogs/raw/branch/main/pyproject.toml -o pyproject.toml
|
|
|
|
RUN curl -sSL https://www.coastalcommits.com/SeaswimmerTheFsh/SeaCogs/raw/branch/main/poetry.lock -o poetry.lock
|
2024-01-07 06:58:10 -05:00
|
|
|
RUN poetry install --with dev --with docs --no-root
|