This commit is contained in:
thelamer 2023-03-28 20:35:51 -07:00
parent 68d4b5084e
commit cfaecb35fc

View file

@ -13,10 +13,14 @@ LABEL maintainer="aptalca"
ENV TITLE=Audacity
RUN \
echo "**** install build packages ****" && \
echo "**** install packages ****" && \
apt-get update && \
apt-get install -y \
libnss3 && \
python3-xdg \
libatk1.0 \
libatk-bridge2.0 \
libnss3 \
libportaudio2 && \
echo "**** install audacity ****" && \
if [ -z ${AUDACITY_VERSION+x} ]; then \
AUDACITY_VERSION=$(curl -sX GET "https://api.github.com/repos/audacity/audacity/releases/latest" \
@ -27,6 +31,9 @@ RUN \
/app/audacity/audacity -L \
"https://github.com/audacity/audacity/releases/download/Audacity-${AUDACITY_VERSION}/audacity-linux-${AUDACITY_VERSION}-x64.AppImage" && \
chmod +x /app/audacity/audacity && \
ln -s \
/usr/lib/x86_64-linux-gnu/libportaudio.so.2 \
/usr/lib/x86_64-linux-gnu/libportaudio.so && \
echo "**** cleanup ****" && \
rm -rf \
/tmp/* \