Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
met4j
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
A compter du 1er avril, attention à vos pipelines :
Nouvelles limitations de Docker Hub
Show more breadcrumbs
metexplore
met4j
Commits
c5e54530
Commit
c5e54530
authored
5 months ago
by
lcottret
Committed by
Ludovic Cottret
5 months ago
Browse files
Options
Downloads
Patches
Plain Diff
fix docker
parent
fe41bea6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!34
fix docker
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+8
-5
8 additions, 5 deletions
Dockerfile
met4j-toolbox/README.md
+11
-10
11 additions, 10 deletions
met4j-toolbox/README.md
with
19 additions
and
15 deletions
Dockerfile
+
8
−
5
View file @
c5e54530
FROM
eclipse-temurin:17-jdk-alpine
RUN
apk update
&&
apk add
maven
RUN
apk update
&&
apk add
bash
RUN
mkdir
-p
/opt/bin
RUN
mkdir
/opt/bin
COPY
./docker_files/met4j.sh /opt/bin
COPY
./docker_files/met4j.sh /opt/bin
/met4j.sh
COPY
./met4j-toolbox/target/met4j*.jar /opt/bin/met4j.jar
RUN
chmod
a+x
/opt/bin/met4j.sh
RUN
chmod
755
/opt/bin/met4j.sh
RUN
cd
/usr/bin
&&
ln
-s
/opt/bin/met4j.sh
RUN
ln
-s
/opt/bin/met4j.sh /usr/bin/met4j.sh
#ENTRYPOINT ["/opt/bin/met4j.sh"]
ENTRYPOINT
["bash", "/opt/bin/met4j.sh"]
This diff is collapsed.
Click to expand it.
met4j-toolbox/README.md
+
11
−
10
View file @
c5e54530
...
...
@@ -111,6 +111,7 @@ sudo docker pull metexplore/met4j:develop
If you want to build by yourself the docker image:
```
console
mvn clean install
cd met4j-toolbox
mvn package
cd ../
...
...
@@ -120,24 +121,24 @@ sudo docker build -t metexplore/met4j:myversion .
To list all the apps:
```
console
sudo docker run metexplore/met4j:latest
met4j.sh
sudo docker run metexplore/met4j:latest
```
Don't forget to map volumes when you want to process local files.
Example:
To run an app, you have to specify the full name of the app,
with the last part of the package name and the app name separated by a dot.
For instance:
```
console
sudo docker run -v /home/lcottret/work:/work \
metexplore/met4j:latest met4j.sh convert.Sbml2Tab \
-in /work/toy_model.xml -out /work/toy_model.tsv
sudo docker run metexplore/met4j:latest convert.Tab2Sbml -h
```
If you change the working directory, you have to specify "sh /usr/bin/met4j.sh":
Don't forget to map volumes when you want to process local files.
Example:
```
console
sudo docker run
-w /work
-v /home/lcottret/work:/work \
metexplore/met4j:latest
sh /usr/bin/met4j.sh
convert.Sbml2Tab \
-in toy_model.xml -out toy_model.tsv
sudo docker run -v /home/lcottret/work:/work \
metexplore/met4j:latest convert.Sbml2Tab \
-in
/work/
toy_model.xml -out
/work/
toy_model.tsv
```
### Galaxy instance
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment