Public Repository

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

Running it:

docker run \
  --name boinc \
  --env PROJECTURL=http://setiathome.berkeley.edu \
  --env ACCOUNTKEY=123456_accountkey123456 \
  -d j0nnylester/boinc:latest

Dockerfile:

FROM armhf/debian:wheezy-slim
ENV DEBIAN_FRONTEND noninteractive
WORKDIR /boinc
RUN apt-get update && \
    apt-get install -y boinc-client=7.0.27+dfsg-5 && \
    rm -rf /var/lib/apt/lists/*
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
ENTRYPOINT ["entrypoint.sh"]

entrypoint.sh:

#!/bin/bash
echo "nameserver 208.67.222.222" >> /etc/resolv.conf
echo "nameserver 208.67.220.220" >> /etc/resolv.conf
echo "$(date '+%d-%b-%Y %H:%M:%S [ent]') Starting boinc..."
echo "$(date '+%d-%b-%Y %H:%M:%S [ent]') /usr/bin/boinc --attach_project $PROJECTURL $ACCOUNTKEY"
exec /usr/bin/boinc --attach_project $PROJECTURL $ACCOUNTKEY
Docker Pull Command
Owner
j0nnylester