9 Commits

Author SHA1 Message Date
Seth For Privacy
46d68375cd Merge pull request #161 from sethforprivacy/fix-legacy-dockerfile-syntax
Fix legacy Dockerfile syntax flagged by BuildKit
2026-06-23 08:45:47 -04:00
Seth For Privacy
1bb3947f60 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>
2026-06-23 08:20:40 -04:00
Seth For Privacy
df326bcf85 Merge pull request #160 from sethforprivacy/renovate/ubuntu-26.x
chore(deps): update ubuntu docker tag to v26
2026-06-23 07:36:59 -04:00
renovate[bot]
f0f9059dd6 chore(deps): update ubuntu docker tag to v26 2026-06-23 11:11:44 +00:00
Seth For Privacy
93b13c156d Merge pull request #157 from sethforprivacy/optimize-final-image
Optimize final image: runtime libs instead of -dev, pin base image
2026-06-23 07:11:01 -04:00
Seth For Privacy
5b7ab876bf Merge pull request #158 from sethforprivacy/add-renovate-config
Add Renovate config for automated p2pool version bumps
2026-06-23 07:10:21 -04:00
Seth For Privacy
7e7cab924e Add Renovate config for automated p2pool version bumps
Adds .github/renovate.json based on the gold-standard config in
sethforprivacy/simple-monerod-docker, plus a `# renovate:` annotation
above ARG P2POOL_BRANCH so Renovate tracks the upstream p2pool release.

- renovate.json: same extends + customManager regex as monerod. The
  customManager already matches `ARG ..._BRANCH=<value>` patterns, so it
  picks up P2POOL_BRANCH directly. The docker manager (via
  docker:enableMajor) will also keep the pinned ubuntu base image current.
- Dockerfile: add
  `# renovate: datasource=github-releases depName=SChernykh/p2pool`
  immediately above `ARG P2POOL_BRANCH=v4.17`.

Validated with `renovate-config-validator` (renovate@latest):
"Config validated successfully". (Note: the field `managerFilePatterns`
requires Renovate >= 39; the hosted Mend app on this owner runs current
Renovate, matching the live monerod config.)

The hosted Mend Renovate app is already active on this owner's repos and
will pick this up automatically once merged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 20:58:22 -04:00
Seth For Privacy
6f18143ef1 Merge pull request #156 from sethforprivacy/purge-old-handle
chore: purge old sethsimmons handle/branding
2026-06-22 20:18:01 -04:00
Seth For Privacy
81b47a06b7 chore: replace old sethsimmons handle/branding
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 20:15:30 -04:00
3 changed files with 30 additions and 5 deletions

24
.github/renovate.json vendored Normal file
View File

@@ -0,0 +1,24 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
"docker:enableMajor",
"mergeConfidence:all-badges",
":disableRateLimiting",
":semanticCommits"
],
"rebaseWhen": "conflicted",
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": [
"/(^|/)Dockerfile$/"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\sARG .*?_VERSION=(?<currentValue>.*)(\\sARG .*?_CHECKSUM=(?<currentDigest>.*))?\\s",
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\sARG .*?_BRANCH=(?<currentValue>.*)(\\sARG .*?_COMMIT_HASH=(?<currentDigest>.*))?\\s"
],
"versioningTemplate": "{{#if versioning}}{{versioning}}{{/if}}"
}
]
}

View File

@@ -1,7 +1,8 @@
# renovate: datasource=github-releases depName=SChernykh/p2pool
ARG P2POOL_BRANCH=v4.17
# Pin to the latest Ubuntu LTS for the build image base (kept current by Renovate)
FROM ubuntu:24.04 as build
FROM ubuntu:26.04 AS build
LABEL author="sethforprivacy@protonmail.com" \
maintainer="sethforprivacy@protonmail.com"
@@ -16,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
@@ -31,7 +32,7 @@ ARG NPROC
RUN test -z "$NPROC" && nproc > /nproc || echo -n "$NPROC" > /nproc && mkdir build && cd build && cmake .. && make -j"$(cat /nproc)"
# Pin to the latest Ubuntu LTS for the image base (kept current by Renovate)
FROM ubuntu:24.04
FROM ubuntu:26.04
# Install only the runtime shared libraries that the p2pool binary links against
# (runtime equivalents of the build-stage -dev packages, verified via ldd on the

View File

@@ -1,6 +1,6 @@
MIT License
Copyright (c) 2021 Seth Simmons (@sethsimmons)
Copyright (c) 2021 Seth For Privacy (@sethforprivacy)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal