commit d82d6a093b1f09a1e86794b78c081169ab5ca93c Author: Drath Date: Sat Aug 29 22:30:22 2026 +0200 init diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..84402ea --- /dev/null +++ b/.gitea/workflows/build.yml @@ -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 }} diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..6ef2bfd --- /dev/null +++ b/Containerfile @@ -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" diff --git a/README.md b/README.md new file mode 100644 index 0000000..76eff59 --- /dev/null +++ b/README.md @@ -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 +``` \ No newline at end of file