You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
474 B
19 lines
474 B
# syntax=docker/dockerfile:1
|
|
FROM debian:stretch
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
ARG TZ=UTC
|
|
|
|
RUN dpkg --add-architecture armhf && \
|
|
apt-get update && \
|
|
apt-get --yes install \
|
|
crossbuild-essential-armhf \
|
|
curl \
|
|
libpcap0.8-dev:armhf && \
|
|
apt clean all && \
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
|
|
/root/.cargo/bin/rustup target add armv7-unknown-linux-gnueabihf
|
|
|
|
WORKDIR /opt/build
|
|
|
|
CMD ["/bin/bash"]
|
|
|