Skip to content

Commit 8e1ae21

Browse files
authored
fix issues with building Docker images (PolusAI#261)
1 parent a42dc7b commit 8e1ae21

File tree

7 files changed

+12
-9
lines changed

7 files changed

+12
-9
lines changed

cwl_adapters/autodock_vina_batch.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ arguments:
5252

5353
hints:
5454
DockerRequirement:
55-
dockerPull: jakefennick/autodock_vina
55+
dockerPull: ndonyapour/autodock_vina
5656

5757
requirements:
5858
InlineJavascriptRequirement: {}

cwl_adapters/autodock_vina_rescore.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ arguments:
2222

2323
hints:
2424
DockerRequirement:
25-
dockerPull: jakefennick/autodock_vina
25+
dockerPull: ndonyapour/autodock_vina
2626

2727
requirements:
2828
InlineJavascriptRequirement: {}

docker/dockerBuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ cd examples/scripts/
1919
sudo docker build --no-cache --pull -f Dockerfile_align_protein_ca_mda -t jakefennick/align_protein_ca_mda .
2020
sudo docker build --no-cache --pull -f Dockerfile_align_protein_ca_pymol -t jakefennick/align_protein_ca_pymol .
2121
sudo docker build --no-cache --pull -f Dockerfile_atomselect -t jakefennick/atomselect .
22-
sudo docker build --no-cache --pull -f Dockerfile_autodock_vina -t jakefennick/autodock_vina .
22+
sudo docker build --no-cache --pull -f Dockerfile_autodock_vina -t ndonyapour/autodock_vina .
2323
sudo docker build --no-cache --pull -f Dockerfile_autodock_vina_filter -t ndonyapour/autodock_vina_filter .
2424
sudo docker build --no-cache --pull -f Dockerfile_bash_scripts -t jakefennick/bash_scripts .
2525
sudo docker build --no-cache --pull -f Dockerfile_calculate_net_charge -t jakefennick/calculate_net_charge .

dockerPull.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ docker pull jakefennick/biosimspace
1010
docker pull jakefennick/align_protein_ca_mda
1111
docker pull jakefennick/align_protein_ca_pymol
1212
docker pull jakefennick/atomselect
13-
docker pull jakefennick/autodock_vina
13+
docker pull ndonyapour/autodock_vina
1414
docker pull ndonyapour/autodock_vina_filter
1515
docker pull jakefennick/bash_scripts
1616
docker pull jakefennick/calculate_net_charge

examples/scripts/Dockerfile_autodock_vina

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
FROM condaforge/miniforge-pypy3
1+
FROM condaforge/miniforge3
2+
# NOT miniforge-pypy3 (The build process is incompatible with pypy)
23

3-
# The latest release version 1.2.3 has several known bugs.
4-
# See https://github.com/ccsb-scripps/AutoDock-Vina/pull/81
5-
# and https://github.com/ccsb-scripps/AutoDock-Vina/pull/138
64
# RUN conda install -c conda-forge vina
75

86
RUN apt-get update && apt-get install -y git

examples/scripts/Dockerfile_molgan

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ ENV RDKIT_ERROR_LOGGING="OFF"
77

88
RUN apt-get update && apt-get install -y wget git
99

10+
# Install Python 3.10 using Mamba
11+
RUN mamba install -y python=3.10
12+
1013
# Clone MolGAN
1114
RUN git clone https://github.com/ndonyapour/MolGAN.git
1215

@@ -32,4 +35,4 @@ RUN bash data/download_dataset.sh data/gdb9.sdf data/NP_score.pkl.gz data/SA_sco
3235
RUN python utils/sparse_molecular_dataset.py --input_sdf_path data/gdb9.sdf --output_data_path data/data.pkl
3336

3437
# Training step
35-
RUN python example.py --input_data_path data/data.pkl --num_epochs 10 --output_log_path log --input_NP_Score_path data/NP_score.pkl.gz --input_SA_Score_path data/SA_score.pkl.gz --output_model_dir ./trained_models
38+
RUN python example.py --input_data_path data/data.pkl --num_epochs 2 --output_log_path log --input_NP_Score_path data/NP_score.pkl.gz --input_SA_Score_path data/SA_score.pkl.gz --output_model_dir ./trained_models

examples/scripts/Dockerfile_onionnet-sfct

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
FROM condaforge/miniforge3
22
# NOT mambaforge-pypy3 (pandas & rdkit & mdtraj are incompatible with pypy)
33

4+
# Scikit-learn 1.0.2 is only compatible with 3.6 < python < 3.11
5+
RUN mamba install -y python=3.10
46
# Install requirements
57
RUN apt-get update && apt-get install -y wget git
68
RUN mamba install -c conda-forge openbabel numpy pandas mdtraj biopandas -y

0 commit comments

Comments
 (0)