operator (latest)
Installation
docker pull git.abyres.net/elixier/operator:latestsha256:b328adef805f01d6fa1df9c16422c20fb08fa716fbca24f7bfe73d1cf69fb26fImage Layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1751241600' |
| ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; rm -rf /var/lib/apt/lists/* # buildkit |
| ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305 |
| ENV PYTHON_VERSION=3.13.5 |
| ENV PYTHON_SHA256=93e583f243454e6e9e4588ca2c2662206ad961659863277afcdb96801647d640 |
| RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg libbluetooth-dev libbz2-dev libc6-dev libdb-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev make tk-dev uuid-dev wget xz-utils zlib1g-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared $(test "$gnuArch" != 'riscv64-linux-musl' && echo '--with-lto') --with-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; case "$arch" in amd64|arm64) EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; ;; i386) ;; *) EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; ;; esac; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" python ; make install; cd /; rm -rf /usr/src/python; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \) -exec rm -rf '{}' + ; ldconfig; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 --version # buildkit |
| RUN /bin/sh -c set -eux; for src in idle3 pip3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit |
| CMD ["python3"] |
| WORKDIR /app |
| /bin/sh -c apt-get update && apt-get install -y gcc curl && rm -rf /var/lib/apt/lists/* |
| /bin/sh -c curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash |
| /bin/sh -c pip install --no-cache-dir uv |
| COPY dir:a5453aee8a453ab2d415454e36f909da4cb22a56415781b63fcbb7e2e1f7bbaf in ./src/ |
| COPY file:9ce2ef8c177a34c80d1053fe9b722cfb81dc414041493e872f5f6558f159dbdf in pyproject.toml |
| COPY file:49b0920ff230d948bf700f2b64671c6efa070b71b23bed68c3fb137bdc1227ac in uv.lock |
| COPY file:49f3e76318c07861c515a12ab7ec352665b3a6f67c392c3a0e87e7bcf393a6ac in .python-version |
| COPY file:9d662615d1a6c6a8a465732554f2ea7d5d666b99f3a27037ab036a19b9b9cb9b in README.md |
| /bin/sh -c useradd --create-home --shell /bin/bash app && chown -R app:app /app |
| USER app |
| /bin/sh -c uv sync |
| ENV PYTHONPATH=/app |
| ENV PYTHONUNBUFFERED=1 |
| HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 CMD python -c "import requests; requests.get('http://localhost:8080/healthz')" || exit 1 |
| EXPOSE 8080 |
| CMD ["uv", "run", "kopf", "run", "--liveness=http://0.0.0.0:8080/healthz", "-m", "eoperator.operator"] |
Labels
| Key | Value |
|---|---|
| io.buildah.version | 1.40.0 |
Details
Versions (11)
View all
1.3.0-build.2942.29b40dc0
2026-05-13
1.3.0-build.2939.827c7651
2026-05-12
1.3.0-build.2928.c2c6f469
2026-05-05
1.3.0-build.2926.d5ae1d9d
2026-04-09
1.3.0-build.2922.6c893c03
2026-04-09