Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cgetools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AMR-genomics
cgetools
Commits
ce5bf603
Commit
ce5bf603
authored
2 months ago
by
Julien.Prados
Browse files
Options
Downloads
Patches
Plain Diff
change registry to gitlab
parent
96f874c5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+2
-12
2 additions, 12 deletions
Dockerfile
Readme.md
+4
-4
4 additions, 4 deletions
Readme.md
with
6 additions
and
16 deletions
Dockerfile
+
2
−
12
View file @
ce5bf603
...
...
@@ -42,19 +42,9 @@ RUN mkdir -p /db \
ENV
CGE_RESFINDER_RESGENE_DB=/db/resfinder_db/
ENV
CGE_RESFINDER_RESPOINT_DB=/db/pointfinder_db/
ENV
CGE_DISINFINDER_DB=/db/disinfinder_db/
RUN
pip
install
-U
biopython
==
1.73 tabulate
\
&&
curl
-sSL
https://pdm-project.org/install-pdm.py | python3 -
\
&&
git
-C
/usr/src/ clone
--depth
1 https://bitbucket.org/genomicepidemiology/cgecore.git
\
&&
cd
/usr/src/cgecore
&&
python3 setup.py
install
\
&&
git
-C
/usr/src/ clone
--depth
1 https://bitbucket.org/genomicepidemiology/cgelib.git
\
&&
cd
/usr/src/cgelib
&&
python3 setup.py
install
\
RUN
curl
-sSL
https://pdm-project.org/install-pdm.py | python3 -
--path
/usr/local
\
&&
git
-C
/usr/src/ clone
--depth
1 https://bitbucket.org/genomicepidemiology/resfinder.git
\
&&
cd
/usr/src/resfinder
&&
/root/.local/bin/pdm build
&&
pip3
install
dist/
*
.whl
#RUN pip install -U biopython==1.73 tabulate cgecore \
# && pip install --no-cache-dir resfinder
&&
cd
/usr/src/resfinder
&&
pdm build
&&
pip3
install
dist/
*
.whl
This diff is collapsed.
Click to expand it.
Readme.md
+
4
−
4
View file @
ce5bf603
...
...
@@ -12,9 +12,9 @@ databases (mlst,plasmidfinder,resfinder).
To use the tool, you need to mount the working directory on
`/cwd`
. Example:
```
bash
docker run
--rm
-v
.:/cwd
unigebsp
/cgetools plasmidfinder.py
docker run
--rm
-v
.:/cwd
unigebsp
/cgetools mlst.py
docker run
--rm
-v
.:/cwd
unigebsp
/cgetools python3
-m
resfinder
docker run
--rm
-v
.:/cwd
registry.gitlab.unige.ch/amr-genomics
/cgetools plasmidfinder.py
docker run
--rm
-v
.:/cwd
registry.gitlab.unige.ch/amr-genomics
/cgetools mlst.py
docker run
--rm
-v
.:/cwd
registry.gitlab.unige.ch/amr-genomics
/cgetools python3
-m
resfinder
```
...
...
@@ -22,7 +22,7 @@ docker run --rm -v .:/cwd unigebsp/cgetools python3 -m resfinder
To build the container, run:
```
bash
docker build
-
t
unigebsp
/cgetools ./
docker build
-
-platform
linux/amd64
-t
registry.gitlab.unige.ch/amr-genomics
/cgetools ./
```
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