Update Dockerfile (#1126)

Fixes #1124
This commit is contained in:
David Markowitz 2023-06-23 06:49:58 -07:00 committed by GitHub
parent fe23c7c5f7
commit 787dac7cd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
FROM gcc:11 as build
FROM gcc:12 as build
WORKDIR /build
@ -40,7 +40,7 @@ RUN echo "Build server" && \
cmake .. -DCMAKE_BUILD_RPATH_USE_ORIGIN=TRUE && \
make -j $BUILD_THREADS
FROM gcc:11 as runtime
FROM gcc:12 as runtime
RUN --mount=type=cache,id=runtime-apt-cache,target=/var/cache/apt \
apt update && \