File tree Expand file tree Collapse file tree
root/etc/s6-overlay/s6-rc.d/svc-foldingathome Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,14 +19,15 @@ RUN \
1919 echo "**** install runtime packages ****" && \
2020 apt-get update && \
2121 apt-get install -y \
22+ bzip2 \
2223 intel-opencl-icd && \
2324 ln -s libOpenCL.so.1 /usr/lib/x86_64-linux-gnu/libOpenCL.so && \
2425 echo "**** install foldingathome ****" && \
25- download_url=$(curl -H 'Accept-Encoding: gzip' -fSsL --compressed https://download.foldingathome.org/releases.py | jq -r '.[] | select(.title=="64bit Linux") | .groups[].files[].url' | grep "fah-client" | grep "amd64.deb " ) && \
26+ download_url=$(curl -H 'Accept-Encoding: gzip' -fSsL --compressed https://download.foldingathome.org/releases.py | jq -r '.[] | select(.title=="64bit Linux") | .groups[].files[].url' | grep "fah-client" | grep -v "arm64" | grep "tar.bz2 " ) && \
2627 curl -o \
27- /tmp/fah.deb -L \
28+ /tmp/fah.tar.bz2 -L \
2829 ${download_url} && \
29- dpkg -x /tmp/fah.deb / && \
30+ tar xf /tmp/fah.tar.bz2 -C /app --strip-components=1 && \
3031 printf "Linuxserver.io version: ${VERSION}\n Build-date: ${BUILD_DATE}" > /build_version && \
3132 echo "**** cleanup ****" && \
3233 apt-get clean && \
Original file line number Diff line number Diff line change @@ -19,14 +19,15 @@ RUN \
1919 echo "**** install runtime packages ****" && \
2020 apt-get update && \
2121 apt-get install -y \
22+ bzip2 \
2223 ocl-icd-libopencl1 && \
2324 ln -s libOpenCL.so.1 /usr/lib/aarch64-linux-gnu/libOpenCL.so && \
2425 echo "**** install foldingathome ****" && \
25- download_url=$(curl -H 'Accept-Encoding: gzip' -fSsL --compressed https://download.foldingathome.org/releases.py | jq -r '.[] | select(.title=="64bit Linux") | .groups[].files[].url' | grep "fah-client" | grep "arm64.deb ") && \
26+ download_url=$(curl -H 'Accept-Encoding: gzip' -fSsL --compressed https://download.foldingathome.org/releases.py | jq -r '.[] | select(.title=="64bit Linux") | .groups[].files[].url' | grep "fah-client" | grep "arm64" | grep "tar.bz2 ") && \
2627 curl -o \
27- /tmp/fah.deb -L \
28+ /tmp/fah.tar.bz2 -L \
2829 ${download_url} && \
29- dpkg -x /tmp/fah.deb / && \
30+ tar xf /tmp/fah.tar.bz2 -C /app --strip-components=1 && \
3031 printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
3132 echo "**** cleanup ****" && \
3233 apt-get clean && \
Original file line number Diff line number Diff line change 2222
2323exec \
2424 s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 7396" \
25- cd /config s6-setuidgid abc fah-client \
25+ cd /config s6-setuidgid abc /app/ fah-client \
2626 --http-addresses 0.0.0.0:7396 --allow 0/0 ${TOKEN_AND_NAME} \
2727 ${CLI_ARGS}
You can’t perform that action at this time.
0 commit comments