diff --git a/ci-unified/Dockerfile b/ci-unified/Dockerfile index a8aed52..3fad678 100644 --- a/ci-unified/Dockerfile +++ b/ci-unified/Dockerfile @@ -20,7 +20,6 @@ ENV SHELL=/bin/bash \ CXX=clang-${LLVM_VERSION} \ RUST_BACKTRACE=1 - ### base ### # base | add non-root user @@ -35,6 +34,10 @@ COPY ci-unified/cargo-config /home/nonroot/.cargo/config RUN sed -i "s/REPLACEME/${LLVM_VERSION}/g" /root/.cargo/config && \ sed -i "s/REPLACEME/${LLVM_VERSION}/g" /home/nonroot/.cargo/config +# base | add fake sudo, actual sudo causes issues +RUN echo '#!/bin/bash\nexec "$@"' > /usr/local/bin/sudo && \ + chmod +x /usr/local/bin/sudo + # base | install tools and dependencies RUN set -eux; \ apt-get -y update; \