Skip to content

Commit e8bbdc2

Browse files
committed
Fix gurobi download & installation process
1 parent 10eb46b commit e8bbdc2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ RUN conda config --quiet --add channels conda-forge \
2727
&& mamba clean --quiet --all --force-pkgs-dirs --yes \
2828
&& R -e "devtools::install_github('babessell1/zFPKM')" \
2929
# Install gurbori \
30-
&& wget --quiet https://packages.gurobi.com/${GRB_SHORT_VERSION}/gurobi${GRB_VERSION}_linux64.tar.gz \
31-
&& tar -xf gurobi${GRB_VERSION}_linux64.tar.gz \
32-
&& mv -f gurobi* "${HOME}/gurobi" \
30+
&& wget --quiet https://packages.gurobi.com/${GRB_SHORT_VERSION}/gurobi${GRB_VERSION}_linux64.tar.gz --output-file="${HOME}/gurobi.tar.gz" \
31+
&& tar -xf "${HOME}/gurobi.tar.gz" \
32+
# && mv -f gurobi* "${HOME}/gurobi" \
3333
&& rm -f "${HOME}/environment.yaml" \
34-
&& rm -f gurobi${GRB_VERSION}_linux64.tar.gz
34+
&& rm -f "${HOME}/gurobi.tar.gz" \
35+
&& rm -r "${HOME}/work"
3536

3637
VOLUME /home/joyvan/main/data/local_files

0 commit comments

Comments
 (0)