init
Some checks failed
build / build (push) Failing after 43s

This commit is contained in:
2026-08-29 22:30:22 +02:00
commit d82d6a093b
3 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
name: build
on:
schedule:
- cron: '0 3 * * 3'
workflow_dispatch: {}
push:
branches: [ main ]
jobs:
build:
#strategy:
# matrix:
# variant: [44, 45]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: docker build -t ${{ vars.OCI_REGISTRY }}/drath/dev-toolbx:${{ matrix.variant }} -f Containerfile .
- name: Push
run: |
echo "${{ secrets.OCI_PASSWD }}" | docker login ${{ vars.OCI_REGISTRY }} -u gitea --password-stdin
docker push ${{ vars.OCI_REGISTRY }}/drath/dev-toolbx:${{ matrix.variant }}

9
Containerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM registry.fedoraproject.org/fedora-toolbox:44
RUN rpm --import https://dl.espressif.com/dl/eim/eim.asc && curl -fsSL https://dl.espressif.com/dl/eim/rpm/eim.repo -o /etc/yum.repos.d/espressif-eim.repo
RUN dnf -y install gcc make cmake ninja libusb1-devel eim-cli python3-pip libicu76 eza && dnf clean all
LABEL org.opencontainers.image.title="dev-toolbx" \
org.opencontainers.image.description="Custom toolbox image with EIM and some development tools preinstalled" \
org.opencontainers.image.vendor="drath.cc" \
org.opencontainers.image.source="https://git.drath.cc/drath/dev-toolbx"

9
README.md Normal file
View File

@@ -0,0 +1,9 @@
# Custom Toolbx container for development
With gcc, make, cmake, ninja and Espressif's eim-cli preinstalled.
## How to use
```bash
toolbox create -c dev -i oci.drath.cc/dev-toolbx:44
```