Fix Docker setup: Environment variables and file integration#66
Merged
Fix Docker setup: Environment variables and file integration#66
Conversation
- Fix .env file syntax for BUILD_UID, BUILD_GID, and GIT_COMMIT - Update docker-compose.yml to properly pass environment variables - Simplify Dockerfile user creation to avoid UID conflicts - Add debug recipe to justfile for development workflow - Create setup-env.sh script for environment initialization Resolves Docker build issues and ensures proper user permissions in containers.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes the Docker setup to ensure the justfile, dockerfile, .env, and docker-compose.yml files work together properly.
Changes Made:
Result:
-- Fetching GTest with GMock from GitHub...
-- Google Benchmark not found, fetching from GitHub...
-- Failed to find LLVM FileCheck
-- git version: v1.8.3 normalized to 1.8.3
-- Google Benchmark version: 1.8.3
-- Enabling additional flags: -DINCLUDE_DIRECTORIES=/workspace/build/debug/_deps/benchmark-src/include
-- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- success
-- Performing Test HAVE_STD_REGEX -- success
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Performing Test HAVE_PTHREAD_AFFINITY -- success
-- Cista fuzzing enabled
-- Build spdlog: 1.12.0
-- Build type: Debug
-- gRPC support disabled. Use -DENABLE_GRPC=ON to enable Phase 8 distributed features
-- Profiling tests disabled. Use -DENABLE_PROFILING=ON to enable.
-- Workflow examples disabled. Use -DBUILD_EXAMPLES=ON to enable.
-- Configuring done (0.6s)
-- Generating done (0.0s)
-- Build files have been written to: /workspace/build/debug
ninja: no work to do.
✓ Debug build complete: build/debug/ now works correctly
Resolves Docker build issues and ensures proper user permissions in containers.