ActionsDockerContainers/SeaCogs/Dockerfile
SeaswimmerTheFsh 5d188d320e
Some checks failed
Docker Build / Build (push) Failing after 8s
fix(seacogs): fixed node installer and added deadsnakes ppa
2024-01-07 06:30:29 -05:00

35 lines
660 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 -o- https://raw.githubusercontent.com/creationix/nvm/v0.35.2/install.sh | bash -
RUN nvm install 12.16.1
RUN nvm use 12.16.1
# 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 curl -sSl https://seafsh.cc/go/poetry | python3.11 -