ssl-hep / ServiceX_Uproot_Transformer

Transformer Image for Uproot-Based Transforms
BSD 3-Clause "New" or "Revised" License
1 stars 4 forks source link

Fix dockerfile to handle updates to conda clean #36

Closed BenGalewsky closed 2 years ago

BenGalewsky commented 2 years ago

Problem

Updates to conda have broken the Dockerfile.

usage: conda clean [-h] [-a] [-i] [-p] [-t] [-f]
#7 553.5                    [-c [TEMPFILES [TEMPFILES ...]]] [-l] [-d] [--json] [-q]
#7 553.5                    [-v] [-y]
#7 553.5 conda clean: error: argument -p/--packages: ignored explicit argument 'sy'
------
executor failed running [/bin/sh -c conda install --yes     -c conda-forge     lz4     xrootd==5.1.1     tini==0.18.0     && conda clean -tipsy]: exit code: 2

Approach

Change conda clean -tipsy to the new form of conda build purge-all && conda clean -ti

This required installing the new tool, conda build