Created
April 14, 2024 02:42
-
-
Save unicodeFun/9001782603f9a69015288ea279495b0b to your computer and use it in GitHub Desktop.
If, on your #RPi you run #Ubuntu, & you want to run #Firefox from the Raspberry Pi OS in get media access, this seems to work for me.
This file contains 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
FROM arm64v8/debian:bookworm | |
ENV TZ="America/New_York" | |
RUN useradd user | |
RUN mkdir /home/user | |
RUN chown user:user /home/user | |
COPY raspi.list /etc/apt/sources.list.d/raspi.list | |
COPY raspberrypi-archive-stable.gpg /etc/apt/trusted.gpg.d/raspberrypi-archive-stable.gpg | |
RUN apt-get update | |
RUN apt-get upgrade --yes | |
RUN apt-get install --yes neofetch | |
RUN apt-get install --yes perl-modules pipewire pipewire-bin pipewire-alsa alsa-utils firefox | |
RUN apt-get install --yes rp-bookshelf evince xdg-utils | |
USER user | |
#CMD ["/usr/bin/firefox"] | |
CMD ["/bin/bash"] | |
# You might need to do: | |
# xhost +local:docker | |
# To get X11 things to work. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment