Files
FTL/docker/armhf/Dockerfile
T
2019-02-22 19:54:53 -08:00

14 lines
571 B
Docker

FROM debian:stretch
RUN dpkg --add-architecture armhf && \
apt-get update && \
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
# 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