From a23e08ce20887efb4e158a02ffee1f775a0db89f Mon Sep 17 00:00:00 2001 From: Quentin Date: Sat, 12 Sep 2020 20:17:07 +0200 Subject: Refactor 2 --- app/build/pithos/0.7.5.tar.gz | Bin 0 -> 93151 bytes app/build/pithos/Dockerfile | 4 ++++ app/build/pithos/README.md | 9 +++++++++ app/build/pithos/pithos-0.7.5-standalone.jar | Bin 0 -> 21821895 bytes 4 files changed, 13 insertions(+) create mode 100644 app/build/pithos/0.7.5.tar.gz create mode 100644 app/build/pithos/Dockerfile create mode 100644 app/build/pithos/README.md create mode 100644 app/build/pithos/pithos-0.7.5-standalone.jar (limited to 'app/build/pithos') diff --git a/app/build/pithos/0.7.5.tar.gz b/app/build/pithos/0.7.5.tar.gz new file mode 100644 index 0000000..4eb1273 Binary files /dev/null and b/app/build/pithos/0.7.5.tar.gz differ diff --git a/app/build/pithos/Dockerfile b/app/build/pithos/Dockerfile new file mode 100644 index 0000000..70f87d8 --- /dev/null +++ b/app/build/pithos/Dockerfile @@ -0,0 +1,4 @@ +FROM amd64/openjdk:13-alpine + +COPY pithos-0.7.5-standalone.jar /srv/pithos.jar +ENTRYPOINT ["/opt/openjdk-13/bin/java", "-jar", "/srv/pithos.jar"] diff --git a/app/build/pithos/README.md b/app/build/pithos/README.md new file mode 100644 index 0000000..3f0037d --- /dev/null +++ b/app/build/pithos/README.md @@ -0,0 +1,9 @@ +This project is considered as "dangerous" as it is tagged as "Project not under active development". +Consequently, just in case, I am backuping the .jar and the sources in this git repo. +Better safe than sorry or pretty. + +``` +sudo docker build -t superboum/amd64_pithos:v1 . +sudo docker push superboum/amd64_pithos:v1 +sudo docker run --rm -it -p 8080:8080 -v pithos.yaml:/etc/pithos/pithos.yaml superboum/amd64_pithos:v1 +``` diff --git a/app/build/pithos/pithos-0.7.5-standalone.jar b/app/build/pithos/pithos-0.7.5-standalone.jar new file mode 100644 index 0000000..6073e72 Binary files /dev/null and b/app/build/pithos/pithos-0.7.5-standalone.jar differ -- cgit v1.2.3