86 Commits

Author SHA1 Message Date
Seth For Privacy
c0187089f4 Optimize final image: runtime libs instead of -dev, pin base image
The final runtime stage installed full -dev packages (headers, static
archives, build-time deps) when only the runtime shared libraries are
needed. Replace them with the runtime-only equivalents, verified via
`ldd` on the built p2pool binary against the pinned base.

Changes:
- Final stage: install runtime libs instead of -dev packages
  (libuv1t64, libzmq5, libsodium23, libpgm-5.3-0t64, libnorm1t64,
  libgssapi-krb5-2, libcurl4t64, libidn2-0). Note the t64 names on
  Ubuntu 24.04 due to the 64-bit time_t transition.
- Pin both stages to ubuntu:24.04 (current LTS) instead of
  ubuntu:latest for reproducible builds. Renovate's docker manager
  keeps this current.
- Add --depth 1 --shallow-submodules to the git clone for faster,
  lighter source checkout.

Local verification (native arm64):
- Build succeeds (exit 0).
- `docker run --rm p2pool:test --help` prints "P2Pool v4.17" + usage.
- `ldd` on the binary in the final image: all libs resolve, none missing.
- Image size: 317MB -> 188MB (-129MB, -41%).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 20:57:26 -04:00
Seth For Privacy
a36f7e0a2f Update GitHub Actions badges in README
Updated GitHub Actions badges to reflect new repository links.
2026-06-21 14:02:50 -04:00
Seth For Privacy
0518013758 Update P2POOL_BRANCH to version v4.17 2026-06-21 14:01:02 -04:00
Seth For Privacy
24185da98c Merge pull request #155 from sethforprivacy/renovate/actions-checkout-7.x
Update actions/checkout action to v7
2026-06-18 15:59:53 -04:00
renovate[bot]
a0610a6215 Update actions/checkout action to v7 2026-06-18 19:52:11 +00:00
Seth For Privacy
f8867c29bb Merge pull request #154 from hundehausen/bump/p2pool-v4.16
Bump P2Pool to version 4.16
2026-06-15 07:54:16 -04:00
hundehausen
6b67d40ec2 Update P2POOL_BRANCH to version 4.16 2026-06-13 18:45:10 +02:00
Seth For Privacy
3d1374df75 Merge pull request #153 from sethforprivacy/renovate/docker-setup-buildx-action-4.x
Update docker/setup-buildx-action action to v4.1.0
2026-05-23 16:23:41 -04:00
renovate[bot]
599c70f413 Update docker/setup-buildx-action action to v4.1.0 2026-05-23 20:20:53 +00:00
Seth For Privacy
9303676316 Merge pull request #152 from sethforprivacy/renovate/docker-login-action-4.x
Update docker/login-action action to v4.2.0
2026-05-23 16:20:22 -04:00
Seth For Privacy
c20c54e17d Merge pull request #151 from sethforprivacy/renovate/docker-build-push-action-7.x
Update docker/build-push-action action to v7.2.0
2026-05-23 16:20:05 -04:00
renovate[bot]
b3dca32ba0 Update docker/login-action action to v4.2.0 2026-05-23 15:50:07 +00:00
renovate[bot]
f96e9166dc Update docker/build-push-action action to v7.2.0 2026-05-23 15:50:03 +00:00
Seth For Privacy
1ec1d51cfb Update P2POOL_BRANCH to version 4.15.1 2026-05-12 11:01:18 -04:00
Seth For Privacy
d2bed819bd Bump to v4.15 2026-05-01 18:46:30 -04:00
Seth For Privacy
ea2462edf8 Merge pull request #150 from sethforprivacy/renovate/docker-build-push-action-7.x
Update docker/build-push-action action to v7.1.0
2026-04-10 12:22:11 -04:00
renovate[bot]
d30e72c868 Update docker/build-push-action action to v7.1.0 2026-04-10 14:04:03 +00:00
Seth For Privacy
943566c666 Delete .github/dependabot.yml 2026-04-04 09:56:58 -04:00
Seth For Privacy
2afef48805 Merge pull request #148 from sethforprivacy/renovate/docker-login-action-4.x
Update docker/login-action action to v4.1.0
2026-04-04 09:56:35 -04:00
renovate[bot]
9c9a34f0d3 Update docker/login-action action to v4.1.0 2026-04-02 18:35:07 +00:00
Seth For Privacy
bd412b57f5 Merge pull request #147 from sethforprivacy/dependabot/github_actions/dependency-updates-d9df5d0194
Bump the dependency-updates group across 1 directory with 2 updates
2026-03-07 06:33:39 -05:00
dependabot[bot]
46a1067577 Bump the dependency-updates group across 1 directory with 2 updates
Bumps the dependency-updates group with 2 updates in the / directory: [docker/build-push-action](https://github.com/docker/build-push-action) and [docker/metadata-action](https://github.com/docker/metadata-action).


Updates `docker/build-push-action` from 6.19.2 to 7.0.0
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v6.19.2...v7.0.0)

Updates `docker/metadata-action` from 5 to 6
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependency-updates
- dependency-name: docker/metadata-action
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependency-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-06 20:42:38 +00:00
Seth For Privacy
fd9cf843cf Merge pull request #143 from sethforprivacy/renovate/docker-setup-buildx-action-4.x
Update docker/setup-buildx-action action to v4
2026-03-05 09:10:08 -05:00
renovate[bot]
e883973c01 Update docker/setup-buildx-action action to v4 2026-03-05 09:47:12 +00:00
Seth For Privacy
fa13d52fdb Merge pull request #142 from sethforprivacy/renovate/docker-login-action-4.x
Update docker/login-action action to v4
2026-03-04 06:05:52 -05:00
renovate[bot]
de5a18086b Update docker/login-action action to v4 2026-03-04 10:46:25 +00:00
Seth For Privacy
99e34b3579 Update P2POOL_BRANCH to version v4.14 2026-03-01 20:12:03 -05:00
Seth For Privacy
21da5b959b Merge pull request #139 from sethforprivacy/dependabot/github_actions/dependency-updates-985357984d
Bump the dependency-updates group with 2 updates
2026-02-27 08:29:52 -05:00
dependabot[bot]
f2476cbaaa Bump the dependency-updates group with 2 updates
Bumps the dependency-updates group with 2 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact) and [actions/download-artifact](https://github.com/actions/download-artifact).


Updates `actions/upload-artifact` from 6 to 7
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

Updates `actions/download-artifact` from 7 to 8
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependency-updates
- dependency-name: actions/download-artifact
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependency-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-26 20:42:29 +00:00
Seth For Privacy
bf406b66a8 Merge pull request #137 from sethforprivacy/renovate/docker-build-push-action-6.x
Update docker/build-push-action action to v6.19.2
2026-02-13 09:26:42 -05:00
renovate[bot]
cc76d47cc4 Update docker/build-push-action action to v6.19.2 2026-02-12 09:39:31 +00:00
Seth For Privacy
276ec16292 Merge pull request #136 from sethforprivacy/renovate/docker-build-push-action-6.x
Update docker/build-push-action action to v6.19.0
2026-02-11 10:08:44 -05:00
renovate[bot]
366802894c Update docker/build-push-action action to v6.19.0 2026-02-11 13:13:59 +00:00
Seth For Privacy
9fdc25b6b6 Merge pull request #135 from sethforprivacy/renovate/docker-login-action-3.x
Update docker/login-action action to v3.7.0
2026-01-28 10:32:14 -05:00
renovate[bot]
868cfb9673 Update docker/login-action action to v3.7.0 2026-01-28 13:08:13 +00:00
Seth For Privacy
6ebfedde92 Merge pull request #134 from sethforprivacy/renovate/docker-setup-buildx-action-3.x
Update docker/setup-buildx-action action to v3.12.0
2025-12-19 09:14:36 -05:00
renovate[bot]
6d4f11403b Update docker/setup-buildx-action action to v3.12.0 2025-12-19 14:11:24 +00:00
Seth For Privacy
b82007d36e Bump to v4.13 2025-12-18 09:57:08 -05:00
Seth For Privacy
8522817c89 Merge pull request #131 from sethforprivacy/dependabot/github_actions/dependency-updates-c2e7f7cad0
Bump the dependency-updates group with 2 updates
2025-12-15 11:21:33 -05:00
dependabot[bot]
8a2d4bd270 Bump the dependency-updates group with 2 updates
Bumps the dependency-updates group with 2 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact) and [actions/download-artifact](https://github.com/actions/download-artifact).


Updates `actions/upload-artifact` from 5 to 6
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

Updates `actions/download-artifact` from 6 to 7
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependency-updates
- dependency-name: actions/download-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependency-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-12 20:02:23 +00:00
Seth For Privacy
37d68bc1bd Merge pull request #130 from sethforprivacy/renovate/actions-checkout-6.x
Update actions/checkout action to v6
2025-11-20 13:25:41 -05:00
renovate[bot]
dae74873c4 Update actions/checkout action to v6 2025-11-20 17:46:57 +00:00
Seth For Privacy
d37c6f7bdf Bump to v4.12 2025-11-05 13:26:05 -05:00
Seth For Privacy
84ebde54dd Merge pull request #128 from sethforprivacy/renovate/actions-download-artifact-6.x 2025-10-26 12:35:08 -04:00
Seth For Privacy
e834b7e289 Merge pull request #127 from sethforprivacy/dependabot/github_actions/dependency-updates-3249c11fdc 2025-10-26 12:34:54 -04:00
renovate[bot]
389cc18843 Update actions/download-artifact action to v6 2025-10-24 20:02:31 +00:00
dependabot[bot]
93c985963a Bump the dependency-updates group with 2 updates
Bumps the dependency-updates group with 2 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact) and [actions/download-artifact](https://github.com/actions/download-artifact).


Updates `actions/upload-artifact` from 4 to 5
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

Updates `actions/download-artifact` from 5 to 6
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependency-updates
- dependency-name: actions/download-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependency-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-24 20:02:11 +00:00
Seth For Privacy
8d209c335a Merge pull request #126 from sethforprivacy/renovate/docker-login-action-3.x
Update docker/login-action action to v3.6.0
2025-09-29 09:02:37 -04:00
renovate[bot]
2baed31844 Update docker/login-action action to v3.6.0 2025-09-29 10:52:23 +00:00
Seth For Privacy
c591b338f3 Update docker-compose.yml 2025-09-28 09:08:39 -04:00
Seth For Privacy
a1a95d5294 Bump to v4.11 2025-09-27 09:21:18 -04:00
Seth For Privacy
0bc7dba09d Bump to v4.10.1 2025-09-10 06:53:06 -04:00
Seth For Privacy
49019ab2f9 Bump to v4.10 2025-09-09 05:37:30 -04:00
Seth For Privacy
53c1baaaf2 Bump to v4.9.1 2025-08-21 07:19:45 -04:00
Seth For Privacy
1fdd47de76 Merge pull request #123 from sethforprivacy/dependabot/github_actions/dependency-updates-7921bc0373
Bump the dependency-updates group across 1 directory with 2 updates
2025-08-12 13:26:14 -04:00
dependabot[bot]
f2a46b8a21 Bump the dependency-updates group across 1 directory with 2 updates
Bumps the dependency-updates group with 2 updates in the / directory: [actions/checkout](https://github.com/actions/checkout) and [actions/download-artifact](https://github.com/actions/download-artifact).


Updates `actions/checkout` from 4 to 5
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

Updates `actions/download-artifact` from 4 to 5
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependency-updates
- dependency-name: actions/download-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependency-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 04:39:58 +00:00
Seth For Privacy
679ac1e87e Merge pull request #119 from sethforprivacy/renovate/docker-login-action-3.x
Update docker/login-action action to v3.5.0
2025-08-04 13:07:04 -04:00
renovate[bot]
cbf7fbfb7e Update docker/login-action action to v3.5.0 2025-08-04 16:36:05 +00:00
Seth For Privacy
382708175c Bump to v4.9 2025-07-23 19:58:59 -04:00
Seth For Privacy
e4d02db831 Merge pull request #118 from levinster82/main
Update README.md
2025-07-01 05:48:05 -04:00
levinster82
ef64a6db7d Update README.md
update docker run example from unmaintained docker hub image to ghcr image
2025-06-30 18:18:33 -04:00
Seth For Privacy
d3a1a704b8 Update README.md 2025-06-26 05:50:35 -04:00
Seth For Privacy
8178e7df3e Update Dockerfile 2025-06-26 05:49:55 -04:00
Seth For Privacy
9b158c86c2 Merge pull request #117 from sethforprivacy/renovate/docker-setup-buildx-action-3.x
Update docker/setup-buildx-action action to v3.11.1
2025-06-18 09:19:44 -04:00
renovate[bot]
031bd91913 Update docker/setup-buildx-action action to v3.11.1 2025-06-18 11:01:02 +00:00
Seth For Privacy
2bd817c6c2 Merge pull request #116 from sethforprivacy/renovate/docker-setup-buildx-action-3.x
Update docker/setup-buildx-action action to v3.11.0
2025-06-16 14:04:09 -04:00
renovate[bot]
b77b8d9d7c Update docker/setup-buildx-action action to v3.11.0 2025-06-16 17:41:06 +00:00
Seth For Privacy
f34b0b4e7a Merge pull request #115 from hundehausen/patch-13
Bump p2pool to v4.8
2025-06-16 06:44:58 -04:00
hundehausen
77f6cd5311 Bump p2pool to v4.8 2025-06-15 17:30:43 +02:00
Seth For Privacy
9719c48897 Merge pull request #114 from hundehausen/patch-13
Bump p2pool to v4.7
2025-05-30 11:36:11 -04:00
hundehausen
2290ddb6b9 Bump to v4.7 2025-05-30 08:38:12 +02:00
Seth For Privacy
843f97b1cf Merge pull request #113 from sethforprivacy/dependabot/github_actions/dependency-updates-eb4bd8a3a6
Bump docker/build-push-action from 6.17.0 to 6.18.0 in the dependency-updates group
2025-05-28 21:20:33 -04:00
dependabot[bot]
6945b17b5d Bump docker/build-push-action in the dependency-updates group
Bumps the dependency-updates group with 1 update: [docker/build-push-action](https://github.com/docker/build-push-action).


Updates `docker/build-push-action` from 6.17.0 to 6.18.0
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v6.17.0...v6.18.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-version: 6.18.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependency-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-27 20:53:03 +00:00
Seth For Privacy
df89ed309f Merge pull request #111 from hundehausen/patch-13
Bump to v4.6
2025-05-18 07:30:32 -04:00
hundehausen
f181dbcd59 Bump to v4.6 2025-05-18 09:52:13 +02:00
Seth For Privacy
89ca118508 Merge pull request #110 from sethforprivacy/renovate/docker-build-push-action-6.x
Update docker/build-push-action action to v6.17.0
2025-05-15 13:09:30 -04:00
renovate[bot]
9d6980c6d2 Update docker/build-push-action action to v6.17.0 2025-05-15 13:37:56 +00:00
Seth For Privacy
501a27001b Merge pull request #109 from hundehausen/patch-12
Bump to v4.5
2025-05-04 07:34:31 -04:00
hundehausen
35a6c3a3ed Bump to v4.5 2025-05-04 09:05:48 +02:00
Seth For Privacy
bfe73f3409 Merge pull request #108 from sethforprivacy/renovate/docker-build-push-action-6.x
Update docker/build-push-action action to v6.16.0
2025-04-24 14:12:37 -04:00
renovate[bot]
9925a8d336 Update docker/build-push-action action to v6.16.0 2025-04-24 14:49:14 +00:00
Seth For Privacy
c699d76908 Merge pull request #107 from sethforprivacy/renovate/docker-login-action-3.x
Update docker/login-action action to v3.4.0
2025-03-14 20:17:24 -04:00
renovate[bot]
ee90239c6b Update docker/login-action action to v3.4.0 2025-03-14 20:45:55 +00:00
Seth For Privacy
28104934af Bump to v4.4 2025-03-01 15:05:35 -05:00
Seth For Privacy
d2494e9deb Merge pull request #105 from sethforprivacy/dependabot/github_actions/dependency-updates-93cde54b9c
Bump the dependency-updates group with 2 updates
2025-02-26 16:09:00 -05:00
dependabot[bot]
76b1d9164c Bump the dependency-updates group with 2 updates
Bumps the dependency-updates group with 2 updates: [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) and [docker/build-push-action](https://github.com/docker/build-push-action).


Updates `docker/setup-buildx-action` from 3.9.0 to 3.10.0
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v3.9.0...v3.10.0)

Updates `docker/build-push-action` from 6.14.0 to 6.15.0
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v6.14.0...v6.15.0)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependency-updates
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependency-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-26 20:30:43 +00:00
6 changed files with 31 additions and 60 deletions

View File

@@ -1,11 +0,0 @@
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
groups:
dependency-updates:
patterns:
- "*"

View File

@@ -37,14 +37,14 @@ jobs:
echo "DIGEST_NAME=amd64" >> $GITHUB_ENV
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.9.0
uses: docker/setup-buildx-action@v4.1.0
-
name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v7
-
name: Test build of image
id: build
uses: docker/build-push-action@v6.14.0
uses: docker/build-push-action@v7.2.0
with:
push: false
load: true

View File

@@ -34,26 +34,26 @@ jobs:
echo "DIGEST_NAME=amd64" >> $GITHUB_ENV
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: |
${{ env.GHCR_REPO }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.9.0
uses: docker/setup-buildx-action@v4.1.0
-
name: Login to GitHub Container Registry
uses: docker/login-action@v3.3.0
uses: docker/login-action@v4.2.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v7
-
name: Build and and push by digest
uses: docker/build-push-action@v6.14.0
uses: docker/build-push-action@v7.2.0
id: build
with:
outputs: type=image,"name=${{ env.GHCR_REPO }}",push-by-digest=true,name-canonical=true,push=true
@@ -68,7 +68,7 @@ jobs:
touch "${{ runner.temp }}/digests/${digest#sha256:}"
- name: Upload digest
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: digests-${{ env.DIGEST_NAME }}
path: ${{ runner.temp }}/digests/*
@@ -81,31 +81,31 @@ jobs:
- build
steps:
- name: Download digests
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
path: ${{ runner.temp }}/digests
pattern: digests-*
merge-multiple: true
- name: Login to GHCR
uses: docker/login-action@v3.3.0
uses: docker/login-action@v4.2.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.9.0
uses: docker/setup-buildx-action@v4.1.0
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v7
- name: Get p2pool release tag
run: echo P2POOL_TAG="$(awk -F '=' '/P2POOL_BRANCH=/ {print $2}' Dockerfile)" >> $GITHUB_ENV
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: |
${{ env.GHCR_REPO }}

View File

@@ -1,7 +1,7 @@
ARG P2POOL_BRANCH=v4.3
ARG P2POOL_BRANCH=v4.17
# Select latest Ubuntu LTS for the build image base
FROM ubuntu:latest as build
# Pin to the latest Ubuntu LTS for the build image base (kept current by Renovate)
FROM ubuntu:24.04 as build
LABEL author="sethforprivacy@protonmail.com" \
maintainer="sethforprivacy@protonmail.com"
@@ -24,20 +24,22 @@ WORKDIR /p2pool
# Git pull p2pool source at specified tag/branch
ARG P2POOL_BRANCH
RUN git clone --recursive --branch ${P2POOL_BRANCH} https://github.com/SChernykh/p2pool .
RUN git clone --recursive --depth 1 --shallow-submodules --branch ${P2POOL_BRANCH} https://github.com/SChernykh/p2pool .
# Make static p2pool binary
ARG NPROC
RUN test -z "$NPROC" && nproc > /nproc || echo -n "$NPROC" > /nproc && mkdir build && cd build && cmake .. && make -j"$(cat /nproc)"
# Select latest Ubuntu LTS for the image base
FROM ubuntu:latest
# Pin to the latest Ubuntu LTS for the image base (kept current by Renovate)
FROM ubuntu:24.04
# Install remaining dependencies
# 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
# built binary against the pinned Ubuntu 24.04 base)
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install --no-install-recommends -y libuv1-dev libzmq3-dev libsodium-dev \
libpgm-dev libnorm-dev libgss-dev libcurl4-openssl-dev libidn2-0-dev \
&& apt-get install --no-install-recommends -y libuv1t64 libzmq5 libsodium23 \
libpgm-5.3-0t64 libnorm1t64 libgssapi-krb5-2 libcurl4t64 libidn2-0 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

View File

@@ -3,21 +3,11 @@ A simple and straightforward Dockerized [p2pool](https://github.com/SChernykh/p2
## Actions
[![Daily Update Rebuild](https://github.com/sethsimmons/p2pool-docker//actions/workflows/update-daily.yml/badge.svg)](https://github.com/sethsimmons/p2pool-docker/actions/workflows/update-daily.yml)
[![Weekly Update Rebuild](https://github.com/sethsimmons/p2pool-docker//actions/workflows/update-base-image.yml/badge.svg)](https://github.com/sethsimmons/p2pool-docker/actions/workflows/update-base-image.yml)
[![Latest Dockerfile build](https://github.com/sethsimmons/p2pool-docker//actions/workflows/update-image-on-push.yml/badge.svg)](https://github.com/sethsimmons/p2pool-docker/actions/workflows/update-image-on-push.yml)
[![Container security scan with Trivy](https://github.com/sethsimmons/p2pool-docker//actions/workflows/trivy-analysis.yml/badge.svg)](https://github.com/sethsimmons/p2pool-docker/actions/workflows/trivy-analysis.yml)
## Docker
![Docker Pulls](https://img.shields.io/docker/pulls/sethsimmons/p2pool)
![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/sethsimmons/p2pool)
![Docker Image Version (latest by date)](https://img.shields.io/docker/v/sethsimmons/p2pool)
[![Daily Update Rebuild](https://github.com/sethforprivacy/p2pool-docker//actions/workflows/update-daily.yml/badge.svg)](https://github.com/sethforprivacy/p2pool-docker/actions/workflows/update-daily.yml)
[![Weekly Update Rebuild](https://github.com/sethforprivacy/p2pool-docker//actions/workflows/update-base-image.yml/badge.svg)](https://github.com/sethforprivacy/p2pool-docker/actions/workflows/update-base-image.yml)
# Docker Hub
This repo is used to build the images available at:
https://hub.docker.com/r/sethsimmons/p2pool
This repo is used to build the images available here on GHCR.
# Tags
@@ -28,7 +18,7 @@ https://hub.docker.com/r/sethsimmons/p2pool
*NOTE: Remember to replace the host address with your own node (if desired) as well as the Monero address for the `--wallet` flag, or else you'll be making a kind hashrate donation to me.*
```bash
docker run -d --name="p2pool" -p 3333:3333 -p 37889:37889 -v p2pool-data:/home/p2pool -v /dev/hugepages:/dev/hugepages:rw sethsimmons/p2pool:latest --host 5.9.120.18 --rpc-port 18089 --wallet 468ydghFfthE3UTc53eF5MP9UyrMcUiAHP5kizVYJsej5XGaXBoAAEzUHCcUF7t3E3RrYAX8Rs1ujhBdcvMpZSbH8qkb55R --stratum 0.0.0.0:3333 --p2p 0.0.0.0:37889 --addpeers 65.21.227.114:37889,node.sethforprivacy.com:37889
docker run -d --name="p2pool" -p 3333:3333 -p 37889:37889 -v p2pool-data:/home/p2pool -v /dev/hugepages:/dev/hugepages:rw ghcr.io/sethforprivacy/p2pool:latest --host 5.9.120.18 --rpc-port 18089 --wallet 468ydghFfthE3UTc53eF5MP9UyrMcUiAHP5kizVYJsej5XGaXBoAAEzUHCcUF7t3E3RrYAX8Rs1ujhBdcvMpZSbH8qkb55R --stratum 0.0.0.0:3333 --p2p 0.0.0.0:37889 --addpeers 65.21.227.114:37889,node.sethforprivacy.com:37889
```
# Copyrights

View File

@@ -1,7 +1,6 @@
version: '3.5'
services:
monerod:
image: sethsimmons/simple-monerod:latest
image: ghcr.io/sethforprivacy/simple-monerod:latest
restart: unless-stopped
container_name: monerod
volumes:
@@ -21,7 +20,7 @@ services:
- "--out-peers=50"
p2pool:
image: sethsimmons/p2pool:latest
image: ghcr.io/sethforprivacy/p2pool:latest
restart: unless-stopped
container_name: p2pool
tty: true
@@ -52,15 +51,6 @@ services:
volumes:
- tor-keys:/var/lib/tor/hidden_service/
autoheal:
image: willfarrell/autoheal:latest
container_name: autoheal
restart: unless-stopped
environment:
AUTOHEAL_CONTAINER_LABEL: all
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
watchtower:
image: containrrr/watchtower:latest
container_name: watchtower