Rework the build scripts and dockerfiles with generic embedded targets
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
FROM arm32v7/debian:buster
|
||||
|
||||
ENV TARGET=rpi
|
||||
ENV DISTRO=buster
|
||||
|
||||
COPY scripts/install-base-deps.sh /opt/scripts/
|
||||
RUN /bin/bash -c /opt/scripts/install-base-deps.sh && \
|
||||
apt-get install -y --no-install-recommends gnupg && \
|
||||
echo "deb http://archive.raspberrypi.org/debian/ buster main" >> /etc/apt/sources.list && \
|
||||
echo "deb http://archive.raspberrypi.org/debian/ $DISTRO main" >> /etc/apt/sources.list && \
|
||||
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 82B129927FA3303E && \
|
||||
apt-get update && \
|
||||
apt-get install -y --no-install-recommends libraspberrypi-dev linux-libc-dev && \
|
||||
|
||||
Reference in New Issue
Block a user