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:36:29 -05:00
|
|
|
RUN apt-get install -y ca-certificates curl gnupg
|
|
|
|
RUN mkdir /etc/apt/keyrings
|
|
|
|
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
|
2024-01-07 06:34:13 -05:00
|
|
|
RUN export NODE_MAJOR=12
|
|
|
|
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE_MAJOR}.x focal main" | sudo tee /etc/apt/sources.list.d/nodesource.list > /dev/null
|
|
|
|
RUN apt-get update && apt-get install -y nodejs
|
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
|
|
|
|
|
|
|
|
RUN curl -sSl https://seafsh.cc/go/poetry | python3.11 -
|