Skip to content

Commit

Permalink
Merge pull request #6 from patrickelectric/improve_things
Browse files Browse the repository at this point in the history
Some new updates
  • Loading branch information
patrickelectric committed Dec 2, 2021
2 parents 2473e9e + c1bc469 commit 5e759e3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
20 changes: 17 additions & 3 deletions Dockerfile
@@ -1,11 +1,25 @@
FROM python:3.9-slim-buster
FROM python:3.9-slim-bullseye

# Create default user folder
RUN mkdir -p /home/pi

# Install gstreamer
COPY ./scripts/install_gst.sh /install_gst.sh
RUN GST_VERSION=1.17.2 ./install_gst.sh && rm /install_gst.sh
RUN GST_VERSION=1.18.5 ./install_gst.sh && rm /install_gst.sh

# Install necessary tools for basic usage
RUN apt install -y --no-install-recommends file locate tmux unzip nano htop iputils-ping watch wget iproute2
RUN apt install -y --no-install-recommends \
dnsutils \
file \
htop \
i2c-tools \
iproute2 \
iputils-ping \
locate \
lsof \
nano \
sshpass \
tmux \
unzip \
watch \
wget \
2 changes: 0 additions & 2 deletions scripts/install_gst.sh
Expand Up @@ -42,8 +42,6 @@ pip3 install "meson==0.58"
cd /tmp
git clone -b $GST_VERSION --single-branch --depth=1 https://github.com/GStreamer/gst-build
cd gst-build
# Remove master version from dependency
sed -i 's/master/v0.21.1/g' subprojects/libpsl.wrap

meson builddir \
--buildtype=release \
Expand Down

0 comments on commit 5e759e3

Please sign in to comment.