ActionsDockerContainers/SeaCogs/Dockerfile
SeaswimmerTheFsh c0af4481cb
All checks were successful
Docker Build / Build (push) Successful in 5s
fix(seacogs): don't upgrade pip
2024-01-07 07:05:05 -05:00

42 lines
971 B
Docker

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
# Install Nodejs
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
apt-get install -y nodejs && \
node --version
# Set up deadsnakes PPA
RUN add-apt-repository ppa:deadsnakes/ppa -y
# Install Python 3.11
RUN apt-get install -y \
python3.11 \
python3.11-dev \
python3.11-venv
RUN python3.11 --version
# Install Poetry
RUN python3.11 -m pip install poetry
RUN poetry config virtualenvs.create false
# Install dependencies
RUN curl -sSL https://coastalcommits.com/SeaswimmerTheFsh/SeaCogs/raw/branch/main/pyproject.toml -o pyproject.toml
RUN curl -sSL https://coastalcommits.com/SeaswimmerTheFsh/SeaCogs/raw/branch/main/poetry.lock -o poetry.lock
RUN poetry install --with dev --with docs --no-root