File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1.7-labs
2- FROM gcc:14.3 .0-bookworm
2+ FROM gcc:15.2 .0-trixie
33
44# Ensures the container is re-built if dependency files change
55ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="CMakeLists.txt,vcpkg.json,vcpkg-configuration.json"
@@ -33,6 +33,7 @@ COPY --exclude=.git --exclude=README.md . /app
3333RUN vcpkg install --no-print-usage
3434RUN sed -i '1s/^/set(VCPKG_INSTALL_OPTIONS --no-print-usage)\n /' ${VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake
3535
36+ RUN .codecrafters/compile.sh
37+
3638RUN mkdir -p /app-cached
3739RUN if [ -d "/app/build" ]; then mv /app/build /app-cached; fi
38- RUN if [ -d "/app/vcpkg_installed" ]; then mv /app/vcpkg_installed /app-cached; fi
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1.7-labs
2- FROM gcc:14.3 .0-bookworm
2+ FROM gcc:15.2 .0-trixie
33
44# Ensures the container is re-built if dependency files change
55ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="CMakeLists.txt,vcpkg.json,vcpkg-configuration.json"
@@ -33,7 +33,7 @@ COPY --exclude=.git --exclude=README.md . /app
3333RUN vcpkg install --no-print-usage
3434RUN sed -i '1s/^/set(VCPKG_INSTALL_OPTIONS --no-print-usage)\n /' ${VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake
3535
36+ RUN .codecrafters/compile.sh
37+
3638RUN mkdir -p /app-cached
3739RUN if [ -d "/app/build" ]; then mv /app/build /app-cached; fi
38- RUN if [ -d "/app/vcpkg_installed" ]; then mv /app/vcpkg_installed /app-cached/build; fi
39-
You can’t perform that action at this time.
0 commit comments