Rework the build scripts and dockerfiles with generic embedded targets
This commit is contained in:
25
Dockerfile.armhf.bullseye
Normal file
25
Dockerfile.armhf.bullseye
Normal file
@@ -0,0 +1,25 @@
|
||||
FROM arm32v7/debian:bullseye
|
||||
|
||||
ENV TARGET=embedded
|
||||
ENV DISTRO=bullseye
|
||||
|
||||
COPY scripts/install-base-deps.sh /opt/scripts/
|
||||
RUN /bin/bash -c /opt/scripts/install-base-deps.sh && \
|
||||
echo "deb http://deb.debian.org/debian bullseye-backports main" >> /etc/apt/sources.list && \
|
||||
apt-get update && \
|
||||
apt-get install -y --no-install-recommends linux-libc-dev/bullseye-backports && \
|
||||
apt-get clean -y && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY dav1d /opt/dav1d
|
||||
COPY FFmpeg /opt/FFmpeg
|
||||
COPY SDL2 /opt/SDL2
|
||||
COPY SDL_ttf /opt/SDL_ttf
|
||||
|
||||
COPY scripts/build-deps.sh /opt/scripts/
|
||||
RUN /bin/bash -c /opt/scripts/build-deps.sh
|
||||
|
||||
COPY scripts/build-package.sh /opt/scripts/
|
||||
|
||||
VOLUME "/out"
|
||||
ENTRYPOINT [ "/bin/bash", "-c", "/opt/scripts/build-package.sh" ]
|
||||
Reference in New Issue
Block a user