What about VOLUME for data persistence?
On Wed, Oct 3, 2018 at 3:51 PM Andy Seaborne <[email protected]> wrote:
>
> The cycle time on a *nix distribution is long, and has a long tail. That
> in turn can create costs on the project (so if people want step up ...)
>
> A Dockerfile can be part of the release process.
>
> A simple Dockerfile is possible - some WIP trying to be minimal:
>
> ---------------------------------------------------
> # Basic Fuseki Dockerfile.
> #
> # Assumes:
> # 1 - fuseki-server.jar
> # 2 - log4j.properties
>
> # Build: docker image build -t jena/fuseki .
> # Run:   docker run -it --rm   jena/fuseki --mem /ds
> #   Add "-d" to run in the background (no stdout)
>
> FROM openjdk:8
>
> LABEL maintainer="The Apache Jena community <[email protected]>"
>
> EXPOSE 3030
>
> # Place choices of "fuseki-server.jar" and
> # "log4j.properties" in the current directory
>
> RUN   mkdir /apache-jena
> COPY  log4j.properties  /apache-jena
> COPY  fuseki-server.jar /apache-jena
>
> ## Run Fuseki command.
> ENTRYPOINT [ \
>    "/usr/bin/java", "-jar",                                     \
>    "-Dlog4j.configuration=file:/apache-jena/log4j.properties",  \
>    "/apache-jena/fuseki-server.jar"                             \
>            ]
>
> ## Command line arguments are those for Fuseki.
> CMD []
> ---------------------------------------------------
>
>      Andy
>
> On 03/10/18 14:14, Martynas Jusevičius wrote:
> > What Docker addresses nicely is uniform deployment across different
> > platforms. And on top of that comes automatization, swarms etc.
> > On Wed, Oct 3, 2018 at 2:52 PM Laura Morales <[email protected]> wrote:
> >>
> >> To be honest, for as long as Fuseki is not packaged in any distribution, 
> >> I'd rather compile it myself than contribute to the trend of bloated app 
> >> virtualization...
> >>
> >>
> >>
> >> Sent: Wednesday, October 03, 2018 at 2:30 PM
> >> From: "Martynas Jusevičius" <[email protected]>
> >> To: jena-users-ml <[email protected]>
> >> Subject: Re: Distro package
> >> I think Docker would be a more portable platform. Fuseki could have an
> >> image based on this: https://hub.docker.com/r/stain/jena-fuseki/
> >>
> >> I also think I know what the maintainers will answer: this is an
> >> open-source project, so contributions are welcome ;)
> >> On Wed, Oct 3, 2018 at 2:28 PM Laura Morales <[email protected]> wrote:
> >>>
> >>> Are there any plans to package jena/fuseki to Debian or other distros?

Reply via email to