Skip to content

Fix legacy Dockerfile syntax flagged by BuildKit - #161

Merged
sethforprivacy merged 1 commit into
mainfrom
fix-legacy-dockerfile-syntax
Jun 23, 2026
Merged

Fix legacy Dockerfile syntax flagged by BuildKit#161
sethforprivacy merged 1 commit into
mainfrom
fix-legacy-dockerfile-syntax

Conversation

@sethforprivacy

Copy link
Copy Markdown
Owner

Summary

docker build --check reported 3 deprecation warnings on the Dockerfile. This resolves them with no functional change:

  • FROM ubuntu:26.04 as buildAS buildFromAsCasing
  • ENV USE_SINGLE_BUILDDIR 1ENV USE_SINGLE_BUILDDIR=1LegacyKeyValueFormat
  • ENV BOOST_DEBUG 1ENV BOOST_DEBUG=1 — same

Verification

docker build --check now reports no warnings. The space- and =-forms of single-value ENV are semantically identical and as/AS is purely casing, so the build is unaffected.

Other repos

Checked all four with docker build --check; monerod, docker-bitcoind, and monero-wallet-rpc are already clean — p2pool was the only one with legacy syntax.

🤖 Generated with Claude Code

- 'FROM ... as build' -> 'AS' (FromAsCasing)
- 'ENV key value' -> 'ENV key=value' for USE_SINGLE_BUILDDIR and
  BOOST_DEBUG (LegacyKeyValueFormat)

No functional change; 'docker build --check' now reports no warnings.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@sethforprivacy
sethforprivacy marked this pull request as ready for review June 23, 2026 12:45
@sethforprivacy
sethforprivacy merged commit 46d6837 into main Jun 23, 2026
4 checks passed
@sethforprivacy
sethforprivacy deleted the fix-legacy-dockerfile-syntax branch June 23, 2026 12:45
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.

1 participant