mirror of
https://github.com/sethforprivacy/p2pool-docker.git
synced 2026-06-23 12:22:36 -04:00
Compare commits
7 Commits
3d1374df75
...
optimize-f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c0187089f4 | ||
|
|
a36f7e0a2f | ||
|
|
0518013758 | ||
|
|
24185da98c | ||
|
|
a0610a6215 | ||
|
|
f8867c29bb | ||
|
|
6b67d40ec2 |
2
.github/workflows/build-image-on-push.yml
vendored
2
.github/workflows/build-image-on-push.yml
vendored
@@ -40,7 +40,7 @@ jobs:
|
||||
uses: docker/setup-buildx-action@v4.1.0
|
||||
-
|
||||
name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
uses: actions/checkout@v7
|
||||
-
|
||||
name: Test build of image
|
||||
id: build
|
||||
|
||||
4
.github/workflows/update-image-on-push.yml
vendored
4
.github/workflows/update-image-on-push.yml
vendored
@@ -50,7 +50,7 @@ jobs:
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
-
|
||||
name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
uses: actions/checkout@v7
|
||||
-
|
||||
name: Build and and push by digest
|
||||
uses: docker/build-push-action@v7.2.0
|
||||
@@ -98,7 +98,7 @@ jobs:
|
||||
uses: docker/setup-buildx-action@v4.1.0
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: Get p2pool release tag
|
||||
run: echo P2POOL_TAG="$(awk -F '=' '/P2POOL_BRANCH=/ {print $2}' Dockerfile)" >> $GITHUB_ENV
|
||||
|
||||
20
Dockerfile
20
Dockerfile
@@ -1,7 +1,7 @@
|
||||
ARG P2POOL_BRANCH=v4.15.1
|
||||
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/*
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@ A simple and straightforward Dockerized [p2pool](https://github.com/SChernykh/p2
|
||||
|
||||
## Actions
|
||||
|
||||
[](https://github.com/sethsimmons/p2pool-docker/actions/workflows/update-daily.yml)
|
||||
[](https://github.com/sethsimmons/p2pool-docker/actions/workflows/update-base-image.yml)
|
||||
[](https://github.com/sethforprivacy/p2pool-docker/actions/workflows/update-daily.yml)
|
||||
[](https://github.com/sethforprivacy/p2pool-docker/actions/workflows/update-base-image.yml)
|
||||
|
||||
# Docker Hub
|
||||
This repo is used to build the images available here on GHCR.
|
||||
|
||||
Reference in New Issue
Block a user