26 lines
741 B
Docker
26 lines
741 B
Docker
FROM catthehacker/ubuntu:act-latest
|
|
|
|
# Set up deadsnakes PPA
|
|
|
|
RUN add-apt-repository ppa:deadsnakes/ppa -y
|
|
|
|
# Install Python 3.10
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y \
|
|
python3.10 \
|
|
python3.10-dev \
|
|
python3.10-venv
|
|
RUN python3.10 --version
|
|
|
|
# Install Poetry
|
|
|
|
RUN python3.10 -m pip install -U click packaging colorama zipp distro importlib-metadata
|
|
RUN python3.10 -m pip install poetry
|
|
RUN poetry config virtualenvs.create false
|
|
|
|
# Install dependencies
|
|
|
|
RUN curl -sSL https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs/raw/branch/main/pyproject.toml -o pyproject.toml
|
|
RUN curl -sSL https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs/raw/branch/main/poetry.lock -o poetry.lock
|
|
RUN poetry install --with dev --no-root
|