Commit 281c9e41 authored by Erick Hitter's avatar Erick Hitter

Merge branch 'develop' into 'master'

Update Golang image for Buster

See merge request !17
parents 0db46d94 66541dde
Pipeline #3489 passed with stages
in 1 minute and 9 seconds
......@@ -9,21 +9,13 @@ ENV GOPATH /go
RUN go get -u
# Add apt key for LLVM repository
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN wget -O - | apt-key add -
# Add LLVM apt repository
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN echo "deb llvm-toolchain-stretch-5.0 main" | tee -a /etc/apt/sources.list
# Install clang from LLVM repository
# Install clang
RUN apt-get update && apt-get install -y --no-install-recommends \
clang-5.0 \
clang \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Set Clang as default CC
ENV set_clang /etc/profile.d/
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN echo "export CC=clang-5.0" | tee -a ${set_clang} && chmod a+x ${set_clang}
RUN echo "export CC=clang-7.0" | tee -a ${set_clang} && chmod a+x ${set_clang}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment