cdklabs / cdklabs/cdk-docker-image-deployment

Architecture Conflict

Open
#164 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
88
Forks
15
Avg merge
7m
Merged PRs (30d)
30

Description

Bundling asset playlist-ranker-staging/DeployDockerImage/onEventHandler/Code/Stage...
esbuild cannot run locally. Switching to Docker bundling.
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
✘ [ERROR] Could not resolve "/private/var/folders/0g/9x7mn9056cq7b63r4cs0pzlm0000gn/T/jsii-kernel-koDD8d/node_modules/cdk-docker-image-deployment/lib/codebuild-handler/index.js"

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported local bundling failure and inspect the Docker bundling path for playlist-ranker-staging/DeployDockerImage/onEventHandler/Code/Stage. Check why the Docker build cannot resolve node_modules/cdk-docker-image-deployment/lib/codebuild-handler/index.js and account for the reported linux/amd64 versus linux/arm64 platform mismatch. Done means the asset bundles successfully locally.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, typescript
Domain
build-system, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.