Skip to content

dev dockerfile#147

Open
aidanstay wants to merge 1 commit into
mainfrom
aidan-docker
Open

dev dockerfile#147
aidanstay wants to merge 1 commit into
mainfrom
aidan-docker

Conversation

@aidanstay

Copy link
Copy Markdown
Collaborator

No description provided.

@aidanstay aidanstay self-assigned this Jan 28, 2026
Comment on lines +1 to +7
# Embers Dev Dockerfile - Debug build matching `cargo make run`
#
# Differences from embers.dockerfile (production):
# - Debug profile (no --release): faster compile, debug assertions, no LTO
# - No cross-compilation: builds for the host platform only
# - Log level defaults to info,embers=trace (matching Makefile.toml)
# - RUST_BACKTRACE=full for better error diagnostics

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

you can achieve the same thing simply by parametrizing original dockerfile.

  1. make a release/dev switch
  2. if you dont specify TARGETPLATFORM it will build for host
  3. you can pass RUST_BACKTRACE and EMBERS__LOG_LEVEL just as any env variable. no need to set them here

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