mirror of
https://github.com/pi-hole/FTL.git
synced 2025-12-24 13:38:25 +00:00
Add ghr to the docker build container
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
This commit is contained in:
@@ -5,4 +5,9 @@ RUN dpkg --add-architecture arm64 && \
|
|||||||
apt-get install -y --no-install-recommends nettle-dev:arm64 gcc-aarch64-linux-gnu libc-dev-arm64-cross \
|
apt-get install -y --no-install-recommends nettle-dev:arm64 gcc-aarch64-linux-gnu libc-dev-arm64-cross \
|
||||||
make file wget netcat-traditional sqlite3 git ca-certificates ssh libcap-dev:arm64
|
make file wget netcat-traditional sqlite3 git ca-certificates ssh libcap-dev:arm64
|
||||||
|
|
||||||
|
# Install ghr for GitHub Releases: https://github.com/tcnksm/ghr
|
||||||
|
RUN wget https://github.com/tcnksm/ghr/releases/download/v0.12.0/ghr_v0.12.0_linux_amd64.tar.gz && \
|
||||||
|
tar -xzf ghr_*_linux_amd64.tar.gz && \
|
||||||
|
mv ghr_*_linux_amd64/ghr /usr/bin/ghr
|
||||||
|
|
||||||
ENV CC aarch64-linux-gnu-gcc
|
ENV CC aarch64-linux-gnu-gcc
|
||||||
|
|||||||
@@ -23,5 +23,10 @@ RUN dpkg --add-architecture armhf && \
|
|||||||
apt-get install -y --no-install-recommends make file netcat-traditional ssh \
|
apt-get install -y --no-install-recommends make file netcat-traditional ssh \
|
||||||
nettle-dev:armhf libcap-dev sqlite3
|
nettle-dev:armhf libcap-dev sqlite3
|
||||||
|
|
||||||
|
# Install ghr for GitHub Releases: https://github.com/tcnksm/ghr
|
||||||
|
RUN wget https://github.com/tcnksm/ghr/releases/download/v0.12.0/ghr_v0.12.0_linux_amd64.tar.gz && \
|
||||||
|
tar -xzf ghr_*_linux_amd64.tar.gz && \
|
||||||
|
mv ghr_*_linux_amd64/ghr /usr/bin/ghr
|
||||||
|
|
||||||
# Allow libnettle to be used, because this GCC doesn't have all the right header and library directories
|
# Allow libnettle to be used, because this GCC doesn't have all the right header and library directories
|
||||||
ENV CC "arm-linux-gnueabihf-gcc -I/usr/include -I/usr/include/arm-linux-gnueabihf -L/usr/local/lib"
|
ENV CC "arm-linux-gnueabihf-gcc -I/usr/include -I/usr/include/arm-linux-gnueabihf -L/usr/local/lib"
|
||||||
|
|||||||
@@ -5,4 +5,9 @@ RUN dpkg --add-architecture armhf && \
|
|||||||
apt-get install -y --no-install-recommends nettle-dev:armhf gcc-arm-linux-gnueabihf libc6-dev-armhf-cross \
|
apt-get install -y --no-install-recommends nettle-dev:armhf gcc-arm-linux-gnueabihf libc6-dev-armhf-cross \
|
||||||
make file wget netcat-traditional sqlite3 git ca-certificates ssh libcap-dev:armhf
|
make file wget netcat-traditional sqlite3 git ca-certificates ssh libcap-dev:armhf
|
||||||
|
|
||||||
|
# Install ghr for GitHub Releases: https://github.com/tcnksm/ghr
|
||||||
|
RUN wget https://github.com/tcnksm/ghr/releases/download/v0.12.0/ghr_v0.12.0_linux_amd64.tar.gz && \
|
||||||
|
tar -xzf ghr_*_linux_amd64.tar.gz && \
|
||||||
|
mv ghr_*_linux_amd64/ghr /usr/bin/ghr
|
||||||
|
|
||||||
ENV CC arm-linux-gnueabihf-gcc
|
ENV CC arm-linux-gnueabihf-gcc
|
||||||
|
|||||||
@@ -5,4 +5,9 @@ RUN dpkg --add-architecture i386 && \
|
|||||||
apt-get install -y --no-install-recommends nettle-dev:i386 gcc gcc-multilib \
|
apt-get install -y --no-install-recommends nettle-dev:i386 gcc gcc-multilib \
|
||||||
make file wget netcat-traditional sqlite3 git ca-certificates ssh libcap-dev:i386
|
make file wget netcat-traditional sqlite3 git ca-certificates ssh libcap-dev:i386
|
||||||
|
|
||||||
|
# Install ghr for GitHub Releases: https://github.com/tcnksm/ghr
|
||||||
|
RUN wget https://github.com/tcnksm/ghr/releases/download/v0.12.0/ghr_v0.12.0_linux_amd64.tar.gz && \
|
||||||
|
tar -xzf ghr_*_linux_amd64.tar.gz && \
|
||||||
|
mv ghr_*_linux_amd64/ghr /usr/bin/ghr
|
||||||
|
|
||||||
ENV CC "gcc -m32"
|
ENV CC "gcc -m32"
|
||||||
|
|||||||
@@ -4,4 +4,9 @@ RUN apt-get update && \
|
|||||||
apt-get install -y --no-install-recommends nettle-dev musl-tools \
|
apt-get install -y --no-install-recommends nettle-dev musl-tools \
|
||||||
make file wget netcat-traditional sqlite3 git ca-certificates ssh
|
make file wget netcat-traditional sqlite3 git ca-certificates ssh
|
||||||
|
|
||||||
|
# Install ghr for GitHub Releases: https://github.com/tcnksm/ghr
|
||||||
|
RUN wget https://github.com/tcnksm/ghr/releases/download/v0.12.0/ghr_v0.12.0_linux_amd64.tar.gz && \
|
||||||
|
tar -xzf ghr_*_linux_amd64.tar.gz && \
|
||||||
|
mv ghr_*_linux_amd64/ghr /usr/bin/ghr
|
||||||
|
|
||||||
ENV CC musl-gcc
|
ENV CC musl-gcc
|
||||||
|
|||||||
@@ -4,4 +4,9 @@ RUN apt-get update && \
|
|||||||
apt-get install -y --no-install-recommends nettle-dev gcc libc-dev \
|
apt-get install -y --no-install-recommends nettle-dev gcc libc-dev \
|
||||||
make file wget netcat-traditional sqlite3 git ca-certificates ssh libcap-dev
|
make file wget netcat-traditional sqlite3 git ca-certificates ssh libcap-dev
|
||||||
|
|
||||||
|
# Install ghr for GitHub Releases: https://github.com/tcnksm/ghr
|
||||||
|
RUN wget https://github.com/tcnksm/ghr/releases/download/v0.12.0/ghr_v0.12.0_linux_amd64.tar.gz && \
|
||||||
|
tar -xzf ghr_*_linux_amd64.tar.gz && \
|
||||||
|
mv ghr_*_linux_amd64/ghr /usr/bin/ghr
|
||||||
|
|
||||||
ENV CC gcc
|
ENV CC gcc
|
||||||
|
|||||||
Reference in New Issue
Block a user