We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a4256dc + 0972c9f commit 177c4e7Copy full SHA for 177c4e7
dockerfiles/cpp-23.Dockerfile
@@ -1,5 +1,5 @@
1
# syntax=docker/dockerfile:1.7-labs
2
-FROM gcc:14.3.0-bookworm
+FROM gcc:15.2.0-trixie
3
4
# Ensures the container is re-built if dependency files change
5
ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="CMakeLists.txt,vcpkg.json,vcpkg-configuration.json"
@@ -33,7 +33,7 @@ COPY --exclude=.git --exclude=README.md . /app
33
RUN vcpkg install --no-print-usage
34
RUN sed -i '1s/^/set(VCPKG_INSTALL_OPTIONS --no-print-usage)\n/' ${VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake
35
36
+RUN .codecrafters/compile.sh
37
+
38
RUN mkdir -p /app-cached
39
RUN if [ -d "/app/build" ]; then mv /app/build /app-cached; fi
-RUN if [ -d "/app/vcpkg_installed" ]; then mv /app/vcpkg_installed /app-cached/build; fi
-
0 commit comments