added seacogs dockerfile

This commit is contained in:
Seaswimmer 2024-01-06 21:56:28 -05:00
commit 9a644b8193
Signed by: cswimr
GPG key ID: 1EBC234EEDA901AE
2 changed files with 59 additions and 0 deletions

View file

@ -0,0 +1,28 @@
name: Docker Build
on:
push:
branches:
- master
jobs:
Build:
runs-on: docker
container: catthehacker/ubuntu:act-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
token: ${{ secrets.COASTALCOMMITSTOKEN }}
- name: Login to CoastalCommits
uses: actions/docker-login@v3
with:
registry: coastalcommits.com
username: SeaswimmerTheFsh
password: ${{ secrets.COASTALCOMMITSTOKEN }}
- name: Build and push SeaCogs Docker image
uses: actions/docker-build-push@v5
with:
context: .
file: ./SeaCogs/Dockerfile
push: true
tags: coastalcommits.com/seaswimmerthefsh/actionscontainers-seacogs:latest

31
SeaCogs/Dockerfile Normal file
View file

@ -0,0 +1,31 @@
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 Python and Node.js
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
RUN apt-get install -y \
nodejs \
python3.11 \
python3.11-dev \
python3.11-venv
# Install Poetry
RUN curl -sSl https://seafsh.cc/go/poetry | python3.11 -
# Install dependencies
RUN poetry config virtualenvs.create false
RUN poetry install --with dev --with docs --no-root