-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split the base image into 2, hopefully now one step can fit in 6h
- Loading branch information
Showing
4 changed files
with
47 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Version: 2024.07.25 (modify this line to trigger CI build) | ||
|
||
FROM stemclubmodulesbot/cloudfunctions-cc-base1 AS build | ||
|
||
# Copy the source code to /v/source and compile it. | ||
COPY . /v/source | ||
WORKDIR /v/source | ||
|
||
# Run the CMake configuration step, setting the options to create | ||
# a statically linked C++ program. This installs the vcpkg dependencies. | ||
RUN cmake -S/v/source -B/v/binary -GNinja \ | ||
-DCMAKE_TOOLCHAIN_FILE=/usr/local/vcpkg/scripts/buildsystems/vcpkg.cmake \ | ||
-DCMAKE_BUILD_TYPE=Release |