Skip to content

Commit 12d46bd

Browse files
Upgrade image to use llvm-16
1 parent 4a7845f commit 12d46bd

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Dockerfile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN apt-get update \
1010
&& apt-get install -y git cmake build-essential byacc libpcre3 libpcre3-dev grep lsb-release wget software-properties-common gnupg libcurl4-openssl-dev unzip lcov --no-install-recommends # skipcq: DOK-DL3018
1111

1212
# Get LLVM
13-
ARG LLVM_VER=15
13+
ARG LLVM_VER=16
1414
RUN wget --no-verbose https://apt.llvm.org/llvm.sh
1515
RUN chmod +x ./llvm.sh \
1616
&& ./llvm.sh ${LLVM_VER} \
@@ -24,17 +24,17 @@ ENV LLVM_INSTALL_DIR "/usr/lib/llvm-${LLVM_VER}"
2424
ENV SENTRY_INSTALL_DIR="/usr/lib/sentry-sdk"
2525

2626
# Get Sentry
27-
ARG SENTRY_TAG=0.5.2
27+
ARG SENTRY_TAG=0.6.3
2828
RUN mkdir /sentry-sdk \
29-
&& cd /sentry-sdk \
30-
&& wget --no-verbose "https://github.com/getsentry/sentry-native/releases/download/${SENTRY_TAG}/sentry-native.zip" \
31-
&& unzip sentry-native.zip \
32-
&& cmake -B ./build \
33-
&& cmake --build ./build --parallel \
34-
&& cmake --install ./build --prefix "${SENTRY_INSTALL_DIR}"
29+
&& cd /sentry-sdk \
30+
&& wget --no-verbose "https://github.com/getsentry/sentry-native/releases/download/${SENTRY_TAG}/sentry-native.zip" \
31+
&& unzip sentry-native.zip \
32+
&& cmake -B ./build \
33+
&& cmake --build ./build --parallel \
34+
&& cmake --install ./build --prefix "${SENTRY_INSTALL_DIR}"
3535

3636
# Install spdlog
37-
RUN git clone --depth=1 https://github.com/gabime/spdlog.git \
37+
RUN git clone --depth=1 --branch v1.11.0 https://github.com/gabime/spdlog.git \
3838
&& cd spdlog \
3939
&& cmake -B build \
4040
&& cmake --build build --parallel \
@@ -62,4 +62,4 @@ RUN cargo b --release
6262
FROM ubuntu_llvm
6363

6464
RUN mkdir -p /toolbox
65-
COPY --from=rs_builder /code/target/release/cppcheck-deepsource /toolbox/
65+
COPY --from=rs_builder /code/target/release/cppcheck-deepsource /toolbox/

0 commit comments

Comments
 (0)