Markus Koschany pushed to branch master at Debian Java Maintainers / openrefine
Commits: 56f0c9ea by Markus Koschany at 2022-03-08T13:43:41+01:00 Update Dockerfile - - - - - 6f292255 by Markus Koschany at 2022-03-08T13:48:12+01:00 Add a README file for the Dockerfile - - - - - 5a3df859 by Markus Koschany at 2022-03-08T13:48:58+01:00 Install the Dockerfile and the README - - - - - a5723b90 by Markus Koschany at 2022-03-08T13:50:58+01:00 Update changelog - - - - - 8c46ca1e by Markus Koschany at 2022-03-08T13:52:33+01:00 Fix the path to the examples - - - - - 4 changed files: - debian/changelog - debian/examples/Dockerfile - + debian/examples/README - + debian/openrefine.examples Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,15 @@ +openrefine (3.5.2-2) unstable; urgency=medium + + * Build-depend on libokhttp-java (>= 3.13.1-3~) + * Tighten dependency on libgoogle-api-client-java. + * Remove dependency on tomcat9 because the tomcat9-annotations-api is + apparently not required. + * Update the Dockerfile and add a README file to document how to build the + image and run the container. Install both files as examples into + /usr/share/doc/openrefine/examples. + + -- Markus Koschany <[email protected]> Tue, 08 Mar 2022 13:49:15 +0100 + openrefine (3.5.2-1) unstable; urgency=medium * Upload to unstable. ===================================== debian/examples/Dockerfile ===================================== @@ -3,20 +3,18 @@ FROM debian:latest LABEL maintainer "[email protected]" LABEL description "OpenRefine development image based on Debian (not intended for production use)" -# environment variables and timezone settings +# Environment variables and timezone settings ENV TZ="Europe/Berlin" -# manual way to install openrefine -COPY debdir /debdir - # Install OpenRefine RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \ echo $TZ > /etc/timezone && \ - apt update && \ - apt install -y procps && \ - apt install -y ./debdir/*.deb && \ + printf "deb http://deb.debian.org/debian bullseye-backports main" > /etc/apt/sources.list.d/backports.list && \ + printf "deb http://deb.debian.org/debian bullseye-proposed-updates main" > /etc/apt/sources.list.d/proposed.list && \ + apt update && apt upgrade -y && \ + apt install -y -t bullseye-backports openrefine && \ apt -y clean && \ - rm -r /var/cache/apt /var/lib/apt/lists/* /debdir + rm -r /var/cache/apt /var/lib/apt/lists/* EXPOSE 3333 ===================================== debian/examples/README ===================================== @@ -0,0 +1,28 @@ +OpenRefine Dockerfile +===================== + +How to build the image +---------------------- + + cd $project_directory_with_Dockerfile + + docker build -t apo1999/openrefine . + +How to pull the image from docker.io +------------------------------------ + + docker pull apo1999/openrefine + + +Run OpenRefine in a new container +--------------------------------- + + docker run -d -p 3333:3333 --name openrefine-test apo1999/openrefine + + docker exec -it openrefine-test /bin/bash || Inspect the container + + docker stop openrefine-test || Stop the container + + docker rm openrefine-test || Remove the container + + docker rmi apo1999/openrefine || Remove the image ===================================== debian/openrefine.examples ===================================== @@ -0,0 +1 @@ +debian/examples/* View it on GitLab: https://salsa.debian.org/java-team/openrefine/-/compare/745bedd205710d3767ac9e9c7e10c095a72fd7cc...8c46ca1e18e42cd39269f2e9ec2600e9cfc0b350 -- View it on GitLab: https://salsa.debian.org/java-team/openrefine/-/compare/745bedd205710d3767ac9e9c7e10c095a72fd7cc...8c46ca1e18e42cd39269f2e9ec2600e9cfc0b350 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ pkg-java-commits mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-commits

