Skip to content

Commit

Permalink
Merge pull request #561 from abretaud/pyc
Browse files Browse the repository at this point in the history
Fix corrupted conda packages
  • Loading branch information
bgruening authored Jul 3, 2020
2 parents aefaac2 + 7f400f8 commit cf2cafe
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions galaxy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ RUN curl -s -L https://repo.continuum.io/miniconda/Miniconda3-4.7.10-Linux-x86_6
# cleanup dance
&& find $GALAXY_ROOT -name '*.pyc' -delete | true \
&& find /usr/lib/ -name '*.pyc' -delete | true \
&& find $GALAXY_CONDA_PREFIX/ -name '*.pyc' -delete | true \
&& find $GALAXY_VIRTUAL_ENV -name '*.pyc' -delete | true \
&& rm -rf /tmp/* /root/.cache/ /var/cache/* $GALAXY_ROOT/client/node_modules/ $GALAXY_VIRTUAL_ENV/src/ /home/galaxy/.cache/ /home/galaxy/.npm

Expand All @@ -153,7 +152,6 @@ RUN mkdir $GALAXY_ROOT \
# cleanup dance
&& find $GALAXY_ROOT -name '*.pyc' -delete | true \
&& find /usr/lib/ -name '*.pyc' -delete | true \
&& find $GALAXY_CONDA_PREFIX/ -name '*.pyc' -delete | true \
&& find $GALAXY_VIRTUAL_ENV -name '*.pyc' -delete | true \
&& rm -rf /tmp/* /root/.cache/ /var/cache/* $GALAXY_ROOT/client/node_modules/ $GALAXY_VIRTUAL_ENV/src/ /home/galaxy/.cache/ /home/galaxy/.npm

Expand All @@ -171,7 +169,6 @@ RUN apt update -qq && apt install --no-install-recommends -y ansible dirmngr gpg
# cleanup dance
&& find $GALAXY_ROOT/ -name '*.pyc' -delete | true \
&& find /usr/lib/ -name '*.pyc' -delete | true \
&& find $GALAXY_CONDA_PREFIX/ -name '*.pyc' -delete | true \
&& find $GALAXY_VIRTUAL_ENV -name '*.pyc' -delete | true \
&& rm -rf /tmp/* /root/.cache/ /var/cache/* $GALAXY_ROOT/client/node_modules/ $GALAXY_VIRTUAL_ENV/src/ /home/galaxy/.cache/ /home/galaxy/.npm

Expand Down Expand Up @@ -225,7 +222,6 @@ RUN mkdir -p /shed_tools $EXPORT_DIR/ftp/ \
&& find $GALAXY_ROOT/ -name '*.pyc' -delete | true \
&& find /usr/lib/ -name '*.pyc' -delete | true \
&& find /var/log/ -name '*.log' -delete | true \
&& find $GALAXY_CONDA_PREFIX/ -name '*.pyc' -delete | true \
&& find $GALAXY_VIRTUAL_ENV -name '*.pyc' -delete | true \
&& rm -rf /tmp/* /root/.cache/ /var/cache/* $GALAXY_ROOT/client/node_modules/ $GALAXY_VIRTUAL_ENV/src/ /home/galaxy/.cache/ /home/galaxy/.npm

Expand Down

0 comments on commit cf2cafe

Please sign in to comment.