Created
April 2, 2020 12:30
-
-
Save Josua-SR/5667c005ca668e0c2a442401ba49ff55 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Debian 11 | |
| FROM debian:bullseye | |
| RUN apt-get update && apt-get install -y curl && apt-get clean | |
| # apt | |
| COPY sources.list /etc/apt/sources.list | |
| COPY sources.bsp-imx8 /etc/apt/sources.list.d/bsp-imx8.list | |
| RUN curl -o keyring.deb https://repo.solid-build.xyz/debian/bullseye/bsp-any/all/solidrun-keyring_2020.01.09_all.deb && dpkg -i keyring.deb | |
| # updates | |
| RUN apt-get update && apt-get upgrade -y && apt-get clean | |
| RUN apt-get update && apt-get install -y bsp-solidrun-imx8 && apt-get clean | |
| # install gpu userspace (framebuffer target) | |
| RUN apt-get update && apt-get -y install imx-gpu-viv imx-gpu-viv-dev imx-gpu-viv-fb imx-gpu-viv-fb-dev eglinfo-fb | |
| # install demo applications | |
| RUN apt-get update && apt-get -y install imx-gpu-viv-demos | |
| # interactive shell as entrypoint | |
| ENTRYPOINT ["/bin/bash", "--login"] | |
| ## Usage: | |
| # docker build -f Dockerfile.sr-imx8-gpu -t imx8-gpu-demo . | |
| # docker run --privileged --rm -it imx8-gpu-demo | |
| # eglinfo_fb | |
| # /opt/viv_samples/cl11/UnitTest/clinfo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment