Files
OmaPhoto/Dockerfile.dev
T
雷电芽衣andClaude c864304695
Release / deb (push) Canceled after 0s
Release / rpm (push) Canceled after 0s
Release / arch (push) Canceled after 0s
Release / publish (push) Canceled after 0s
OmaPhoto 1.0.0: the Linux port of Compositor
A layered image editor for Linux and Omarchy, ported from Compositor
(github.com/robbietilton/Compositor), whose Swift source is its
specification. It reads and writes Compositor's .comp projects.

Packages for Ubuntu, Fedora and Arch come from the release workflow;
scripts/install/ holds one install script per distribution family,
and flake.nix serves NixOS.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-09-26 00:44:52 -04:00

26 lines
1.7 KiB
Docker

FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
g++ cmake ninja-build qt6-base-dev libgl1-mesa-dev qt6-wayland fonts-dejavu-core \
qt6-image-formats-plugins libheif-dev libheif-plugin-libde265 libfontconfig-dev \
ca-certificates curl dpkg-dev file fakeroot \
&& rm -rf /var/lib/apt/lists/*
# Ubuntu 24.04 packages no ONNX Runtime: Microsoft's own build.
RUN curl -fsSL -o /tmp/ort.tgz \
https://github.com/microsoft/onnxruntime/releases/download/v1.21.0/onnxruntime-linux-x64-1.21.0.tgz \
&& echo "7485c7e7aac6501b27e353dcbe068e45c61ab51fbaf598d13970dfae669d20bf /tmp/ort.tgz" | sha256sum -c - \
&& mkdir -p /tmp/ort /usr/local/include/onnxruntime /usr/local/lib64 \
&& tar -xzf /tmp/ort.tgz -C /tmp/ort --strip-components=1 \
&& cp -r /tmp/ort/include/. /usr/local/include/onnxruntime/ \
&& mkdir -p /usr/local/lib/cmake && mv /tmp/ort/lib/cmake/onnxruntime /usr/local/lib/cmake/ \
&& cp -a /tmp/ort/lib/. /usr/local/lib64/ \
&& mkdir -p /usr/local/share/doc/onnxruntime \
&& cp /tmp/ort/LICENSE /tmp/ort/ThirdPartyNotices.txt /usr/local/share/doc/onnxruntime/ \
&& echo /usr/local/lib64 > /etc/ld.so.conf.d/onnxruntime.conf && ldconfig \
&& rm -rf /tmp/ort /tmp/ort.tgz
# U²-Net (Apache-2.0), as rembg converted it (MIT), for Remove Background.
RUN mkdir -p /usr/local/share/omaphoto \
&& curl -fsSL -o /usr/local/share/omaphoto/u2net.onnx \
https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2net.onnx \
&& echo "8d10d2f3bb75ae3b6d527c77944fc5e7dcd94b29809d47a739a7a728a912b491 /usr/local/share/omaphoto/u2net.onnx" | sha256sum -c -