Skip to content
Snippets Groups Projects
Commit bb0f9df0 authored by Erick Hitter's avatar Erick Hitter
Browse files

Fix clang version

parent 017abf54
No related branches found
No related tags found
1 merge request!22Fix clang version
Pipeline #4441 failed
...@@ -11,11 +11,11 @@ RUN go get -u golang.org/x/lint/golint ...@@ -11,11 +11,11 @@ RUN go get -u golang.org/x/lint/golint
# Install clang # Install clang
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
clang \ clang-5.0 \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Set Clang as default CC # Set Clang as default CC
ENV set_clang /etc/profile.d/set-clang-cc.sh ENV set_clang /etc/profile.d/set-clang-cc.sh
SHELL ["/bin/bash", "-o", "pipefail", "-c"] SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN echo "export CC=clang-7.0" | tee -a ${set_clang} && chmod a+x ${set_clang} RUN echo "export CC=clang-5.0" | tee -a ${set_clang} && chmod a+x ${set_clang}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment