From 1bb3947f60fcd75971ae3e8575162f0b2ca8126a Mon Sep 17 00:00:00 2001 From: Seth For Privacy <40500387+sethforprivacy@users.noreply.github.com> Date: Tue, 23 Jun 2026 08:20:40 -0400 Subject: [PATCH] Fix legacy Dockerfile syntax flagged by BuildKit - '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 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 76d1426..21ef304 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ ARG P2POOL_BRANCH=v4.17 # Pin to the latest Ubuntu LTS for the build image base (kept current by Renovate) -FROM ubuntu:26.04 as build +FROM ubuntu:26.04 AS build LABEL author="sethforprivacy@protonmail.com" \ maintainer="sethforprivacy@protonmail.com" @@ -17,8 +17,8 @@ RUN apt-get update \ ENV CFLAGS='-fPIC' ENV CXXFLAGS='-fPIC' -ENV USE_SINGLE_BUILDDIR 1 -ENV BOOST_DEBUG 1 +ENV USE_SINGLE_BUILDDIR=1 +ENV BOOST_DEBUG=1 # Switch to p2pool source directory WORKDIR /p2pool