Skip to content

Containerized build and installation #6

@r10r

Description

@r10r

I like to contribute a Dockerfile and instructions for building and (if possible and not too complex) running subvan-cups as container (docker) image. I'm not yet done with it but want to track progress here.

FROM docker.io/library/rust:1.94-trixie as build
RUN apt-get update \
        && apt-get install -yy \
        libpappl-dev libcups2-dev pkg-config \
        libclang-dev libdbus-1-dev bluez \
        && apt-get clean

WORKDIR /work
COPY . .
RUN make build
RUN make install

Currently used build command:

sudo buildah bud --network=host --layers -t subvan-cups

TODO

  • Copy from build stage into debian minimal image.
  • Integrate with host system (dbus, cups, avahi, bluez,udev)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions