mirror of
https://github.com/sethforprivacy/p2pool-docker.git
synced 2026-06-23 12:22:36 -04:00
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user