lab

recipes (latest)

Published 2026-03-27 00:02:18 +00:00 by myve

Installation

docker pull hub.myvelabs.com/lab/recipes:latest
sha256:12cb44ef5e73b8618a6c7eb05b472ae8706d2b4a7e246dbacf9ec6ba3dd2c00b

About this package

Application for managing recipes, planning meals, building shopping lists and much much more!

Image layers

ADD alpine-minirootfs-3.23.3-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit
ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
ENV PYTHON_VERSION=3.13.12
ENV PYTHON_SHA256=2a84cd31dd8d8ea8aaff75de66fc1b4b0127dd5799aa50a64ae9a313885b4593
RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps bluez-dev bzip2-dev dpkg-dev dpkg findutils gcc gdbm-dev gnupg libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tar tcl-dev tk tk-dev util-linux-dev xz xz-dev zlib-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-option-checking=fatal --enable-shared $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') --with-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; arch="$(apk --print-arch)"; case "$arch" in x86_64|aarch64) EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; ;; x86) ;; *) 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 '{}' + ; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-network --virtual .python-rundeps ; apk del --no-network .build-deps; 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"]
RUN /bin/sh -c apk add --no-cache postgresql-libs postgresql-client gettext zlib libjpeg libwebp libxml2-dev libxslt-dev openldap git libgcc libstdc++ nginx tini envsubst nodejs npm # buildkit
ENV PYTHONUNBUFFERED=1 DOCKER=true
EXPOSE [80/tcp 8080/tcp]
RUN /bin/sh -c mkdir /opt/recipes # buildkit
WORKDIR /opt/recipes
COPY requirements.txt ./ # buildkit
RUN /bin/sh -c sed -i '/# Development/,$d' requirements.txt # buildkit
RUN /bin/sh -c apk add --no-cache --virtual .build-deps gcc musl-dev postgresql-dev zlib-dev jpeg-dev libwebp-dev openssl-dev libffi-dev cargo openldap-dev python3-dev xmlsec-dev xmlsec build-base g++ curl rust && python -m venv venv && /opt/recipes/venv/bin/python -m pip install --upgrade pip && venv/bin/pip debug -v && venv/bin/pip install wheel==0.45.1 && venv/bin/pip install setuptools_rust==1.10.2 && venv/bin/pip install -r requirements.txt --no-cache-dir && apk --purge del .build-deps # buildkit
COPY . ./ # buildkit
RUN /bin/sh -c # delete default nginx config and link it to tandoors config rm -rf /etc/nginx/http.d ln -s /opt/recipes/http.d /etc/nginx/http.d # allow all write/read but set sticky bit to restrict non-root to only create files (conf templating in boot.sh) chmod 1777 /opt/recipes/http.d/ # create symlinks to access and error log to show them on stdout ln -sf /dev/stdout /var/log/nginx/access.log ln -sf /dev/stderr /var/log/nginx/error.log # buildkit
RUN /bin/sh -c /opt/recipes/venv/bin/python version.py # buildkit
RUN /bin/sh -c find . -type d -name ".git" | xargs rm -rf # buildkit
RUN /bin/sh -c chmod +x boot.sh # buildkit
ENTRYPOINT ["/sbin/tini" "--" "/opt/recipes/boot.sh"]

Labels

Key Value
org.opencontainers.image.created 2026-03-26T18:47:45.806Z
org.opencontainers.image.description Application for managing recipes, planning meals, building shopping lists and much much more!
org.opencontainers.image.licenses NOASSERTION
org.opencontainers.image.revision e4ca8c0260fe2bc1b808e76cfdabb937de95c0d7
org.opencontainers.image.source https://github.com/TandoorRecipes/recipes
org.opencontainers.image.title recipes
org.opencontainers.image.url https://github.com/TandoorRecipes/recipes
org.opencontainers.image.version 2.6.0
Details
Container
2026-03-27 00:02:18 +00:00
8
OCI / Docker
linux/amd64
NOASSERTION
278 MiB
Versions (1) View all
latest 2026-03-27