Skip to content

Commit

Permalink
0.1.5 (#23)
Browse files Browse the repository at this point in the history
* udpate Readme and plugin gpg https://github.com/jodersky/sbt-gpg

* downgrade gpg to 0.2.1. 0.2.2 not available !

* remove tagret directory fro repo

* remove tagret directory fro repo

* update Readme

* fix jar publication

* covered code for commands

* update readme with badge

* remove script

* change galaxy recipe directory

* remove temp file

* minor fix for resume

* add planemo test

* add planemo test

* add planemo test

* add planemo test

* add planemo test

* planemo test only master/main/develop

* lint planemo + conda test version

* lint planemo + conda test version

* lint planemo + conda test version

* update fix meta.yml

* remove conda recipe

* clean repo

* add sbt-release (#16)

* Sbt release (#18)

* add sbt-release

* valid pom generation

* Dockerfile (#20)

* target directory for assembly

* add dockerized task

* add dockerfile

* update gitignore

* use directory docker

* update docker management

* fix outputdir assembly

* update docker config

* remove debug config

* Dockerfile (#22)

* target directory for assembly

* add dockerized task

* add dockerfile

* update gitignore

* use directory docker

* update docker management

* fix outputdir assembly

* update docker config

* remove debug config

* remove coverage enable

* fix dockerfile implementation to run process inside galaxy tools
  • Loading branch information
ofilangi authored Nov 8, 2021
1 parent 8caa7b4 commit 05fc1b5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
1 change: 0 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ libraryDependencies += "com.github.scopt" %% "scopt" % "4.0.1"

// Coverage

coverageEnabled := true
coverageMinimumStmtTotal := 70
coverageFailOnMinimum := false
coverageHighlighting := true
Expand Down
15 changes: 9 additions & 6 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ FROM openjdk:jdk-bullseye
LABEL author="Olivier Filangi"
LABEL mail="[email protected]"

ARG BRANCH=main
ARG BRANCH=develop
ARG REPOSITORY_URL=https://github.com/p2m2/p2m2tools.git

USER root

# install sbt:https://www.scala-sbt.org/1.x/docs/Installing-sbt-on-Linux.html

RUN apt update &&\
Expand All @@ -22,8 +20,13 @@ RUN apt update &&\
RUN git clone ${REPOSITORY_URL} /p2m2tools_repo

WORKDIR /p2m2tools_repo
RUN git checkout ${BRANCH} && sbt assembly

COPY p2m2tools .

ENTRYPOINT [ "./p2m2tools" ]
RUN git checkout ${BRANCH} && sbt coverageOff assembly

COPY p2m2tools /usr/bin/

RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*



4 changes: 2 additions & 2 deletions docker/p2m2tools
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ if [ $# -eq 0 ]
exit 1
fi


JAR=$(find $PWD/assembly -name "*.jar")
# Directory inside Dockerfile should correspond to /p2m2tools_repo directory
JAR=$(find /p2m2tools_repo/assembly -name "*.jar")

java -cp $JAR $*

0 comments on commit 05fc1b5

Please sign in to comment.