added seacogs dockerfile
This commit is contained in:
commit
9a644b8193
2 changed files with 59 additions and 0 deletions
28
.forgejo/workflows/build.yaml
Normal file
28
.forgejo/workflows/build.yaml
Normal 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
31
SeaCogs/Dockerfile
Normal 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
|
Loading…
Reference in a new issue