Public Repository

Last pushed: 2 months ago
Short Description
BOINC running on Raspberry Pi in Docker
Full Description

Don't trust me, you shouldn't. Here's the dockerfile and entry script used so you can build it yourself:


Dockerfile:

FROM armhf/debian:latest
ENV DEBIAN_FRONTEND noninteractive
WORKDIR /boinc
RUN echo "deb http://ftp.debian.org/debian wheezy main" >> /etc/apt/sources.list && \
    apt-get update && \
    apt-get --no-install-recommends install -y boinc-client=7.0.27+dfsg-5 && \
    rm -rf /var/lib/apt/lists/*

COPY entrypoint.sh /usr/local/bin/entrypoint.sh
HEALTHCHECK CMD ps -eo comm | grep boinc
ENTRYPOINT ["entrypoint.sh"]

entrypoint.sh:

#!/bin/bash
exec /usr/bin/boinc --attach_project $PROJECTURL $ACCOUNTKEY

Running it:

You will need you provide the project URL and account key as environment variables:
(this has only been tested with the SETI project)

docker run --env PROJECTURL=http://project.url --env ACCOUNTKEY=12345_abcdefghikjl123456 -d j0nnylester/boinc
Docker Pull Command
Owner
j0nnylester

Comments (0)