Skip to content

Conversation

@PttCodingMan
Copy link
Member

No description provided.

@PttCodingMan PttCodingMan requested a review from Copilot July 15, 2025 14:48
Copy link
Contributor

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 adds multi-platform Docker support by updating the base image, image references, and CI workflow to build for multiple architectures.

  • Reference Docker image names in README updated to lowercase
  • Switch Dockerfile base image from Debian slim to Alpine on Python 3.12
  • GitHub Actions workflow now sets up QEMU, Buildx, and builds for amd64 and arm64

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
README.md Fixed image repository casing to lowercase
Dockerfile Changed base image to python:3.12-alpine
.github/workflows/deploy.yml Added QEMU/Buildx setup and multi-platform build step
Comments suppressed due to low confidence (2)

README.md:44

  • [nitpick] Add a note in the README about multi-platform support, e.g. outlining that linux/amd64 and linux/arm64 images will be published and how to pull specific platform variants.
            "ghcr.io/pyptt/ptt_mcp_server:latest"

Dockerfile:2

  • Ensure required build dependencies (e.g., build-base, gcc, musl-dev) are installed if any Python C extensions or native modules need compilation in the Alpine image.
FROM python:3.12-alpine

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@PttCodingMan PttCodingMan merged commit cdd9d98 into main Jul 15, 2025
1 check passed
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