Skip to content

Docker ImageΒ #27

@dlejeune

Description

@dlejeune

Hey there πŸ‘‹

I took the liberty of making a docker image of this tool since I needed one. The image is on DockerHub but the code for a dockerfile if anyone wants it is below. It's pretty straightforward but it insures that the final image only contains the compiled binary.

FROM debian:stable as build

RUN apt-get update

RUN apt-get install -y git gcc meson ninja-build wget

WORKDIR /usr/local/bin/

RUN wget https://boostorg.jfrog.io/artifactory/main/release/1.82.0/source/boost_1_82_0.tar.gz

RUN tar -xvzf boost_1_82_0.tar.gz 

ARG BOOST_ROOT=/usr/local/bin/boost_1_82_0/

WORKDIR /usr/local/bin/coati

RUN git clone https://github.com/CartwrightLab/coati.git .

RUN meson setup builddir --buildtype=release

RUN meson compile -C builddir

ARG DESTDIR=/usr/local/bin/coati_build/

RUN meson install -C builddir

FROM debian:stable as dist

COPY --from=build /usr/local/bin/coati_build/usr/local/bin/coati /usr/local/bin/coati

ENV PATH="${PATH}:/usr/local/bin/"

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions