fix bash argument handling
This commit is contained in:
@@ -5,7 +5,7 @@ LABEL maintainer="Carl Pearson <me@carlpearson.net>"
|
||||
LABEL org.opencontainers.image.title="cmake-format 0.6"
|
||||
LABEL description="A container with cmake-format 0.6"
|
||||
LABEL org.opencontainers.image.description="A container with cmake-format 0.6"
|
||||
LABEL org.opencontainers.image.source https://github.com/cwpearson/clang-format
|
||||
LABEL org.opencontainers.image.source https://github.com/cwpearson/cmake-format
|
||||
LABEL org.opencontainers.image.licenses="GPLv3"
|
||||
|
||||
RUN dnf install -y \
|
||||
|
@@ -5,9 +5,7 @@ set -eou pipefail
|
||||
NEXUS_ROOT=https://nexus.web.sandia.gov/
|
||||
|
||||
if curl --output /dev/null --silent --head --fail --max-time 10 "$NEXUS_ROOT"; then
|
||||
PIP_ARGS="--index-url=$NEXUS_ROOT/repository/pypi-proxy/simple"
|
||||
python3 -m pip install --index-url=$NEXUS_ROOT/repository/pypi-proxy/simple cmakelang==0.6.13
|
||||
else
|
||||
PIP_ARGS=""
|
||||
python3 -m pip install cmakelang==0.6.13
|
||||
fi
|
||||
|
||||
python3 -m pip install "$PIP_ARGS" cmakelang==0.6.13
|
||||
|
Reference in New Issue
Block a user