Skip to content

Commit

Permalink
Fix devcontainer for ubuntu jammy (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
cruizba authored Nov 24, 2023
1 parent d00ed43 commit 9d39f73
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ RUN sudo apt-get update && sudo DEBIAN_FRONTEND=noninteractive apt-get install -
x264 && \
sudo rm -rf /var/lib/apt/lists/*

RUN . /etc/lsb-release; if [ "${DISTRIB_RELEASE}" \> "20.04" ]; then apt-get install --no-install-recommends -y xcvt; fi
RUN . /etc/lsb-release; if [ "${DISTRIB_RELEASE}" \> "20.04" ]; then \
apt-get update && \
apt-get install --no-install-recommends -y xcvt && \
rm -rf /var/lib/apt/lists/*; \
fi

# Download and extract latest GStreamer component
RUN cd /opt && . /etc/lsb-release && SELKIES_VERSION=$(curl -fsSL "https://api.github.com/repos/selkies-project/selkies-gstreamer/releases/latest" | jq -r '.tag_name' | sed 's/[^0-9\.\-]*//g') && \
Expand Down

0 comments on commit 9d39f73

Please sign in to comment.