diff --git a/Dockerfile b/Dockerfile index f538744..5cf61f4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,17 @@ -FROM docker/whalesay:latest -LABEL Name=dontstopfolding Version=0.0.1 -RUN apt-get -y update && apt-get install -y fortunes -CMD ["sh", "-c", "/usr/games/fortune -a | cowsay"] \ No newline at end of file +FROM ghcr.io/hassio-addons/debian-base:7.3.1 +RUN \ + echo "deb http://deb.debian.org/debian bullseye main" > /etc/apt/sources.list && \ + apt-get update && \ + apt-get install -y --no-install-recommends \ + curl \ + ca-certificates && \ + curl -sSL https://download.foldingathome.org/releases/public/fah-client/debian-10-64bit/release/fah-client_8.4.9_amd64.deb -o fahclient.deb && \ + ls -l /fahclient.deb && \ + dpkg -i fahclient.deb || true && \ + apt-get install -f -y && \ + rm fahclient.deb && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* +COPY rootfs / +EXPOSE 7396 +CMD [ "/run.sh" ] \ No newline at end of file