Skip to content

chore: setup docker#1

Merged
Nanahuse merged 10 commits intomainfrom
chore/docker
Nov 28, 2025
Merged

chore: setup docker#1
Nanahuse merged 10 commits intomainfrom
chore/docker

Conversation

@Nanahuse
Copy link
Owner

  • publish pull request container image
  • redesign container

@Nanahuse Nanahuse force-pushed the chore/docker branch 4 times, most recently from c495b35 to 89dc2ed Compare November 27, 2025 11:21
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR establishes Docker containerization for the racebot project, enabling both development and production deployment workflows. It introduces a multi-stage Dockerfile, GitHub Actions workflows for automated image publishing, and updates the development container configuration to leverage the new unified Dockerfile structure.

Key changes:

  • Multi-stage Dockerfile with base, runtime, and dev targets for different use cases
  • GitHub Actions workflows for publishing container images on PR and main branch pushes
  • Consolidated devcontainer setup using the main Dockerfile instead of a separate devcontainer Dockerfile
  • Added Ruff linter configuration to pyproject.toml

Reviewed changes

Copilot reviewed 8 out of 10 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
Dockerfile Introduces multi-stage build with base, runtime, and dev images using uv package manager
.github/workflows/publish-pr.yml Workflow to build and push experimental PR container images to GHCR
.github/workflows/publish-main.yml Workflow to build and push versioned and latest container images on main branch
.devcontainer/devcontainer.json Updated to use main Dockerfile's dev target instead of separate devcontainer Dockerfile
.devcontainer/scripts/copy_auth.sh Script to copy SSH credentials from host to container for authentication
.devcontainer/Dockerfile Removed in favor of unified Dockerfile
pyproject.toml Added Ruff linter configuration with line length and rule selections
README.md Added docker-compose.yaml example and Japanese description
.gitignore Added uv cache and venv directories
LICENSE Formatting change (no content modification)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

@Nanahuse Nanahuse requested a review from Copilot November 28, 2025 07:29
@Nanahuse Nanahuse merged commit 49c8978 into main Nov 28, 2025
7 checks passed
@Nanahuse Nanahuse deleted the chore/docker branch November 28, 2025 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants