mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-16 11:58:47 +00:00
update audiowaveform
This commit is contained in:
parent
770bb4c671
commit
12674d60ed
@ -2,53 +2,15 @@
|
|||||||
# Dockerfile for audiowaveform
|
# Dockerfile for audiowaveform
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM ubuntu
|
FROM ubuntu:20.04
|
||||||
MAINTAINER kev <noreply@easypi.pro>
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN set -xe \
|
||||||
&& apt install -y cmake \
|
&& apt update \
|
||||||
g++ \
|
&& apt install -y software-properties-common \
|
||||||
gcc \
|
&& add-apt-repository ppa:chris-needham/ppa \
|
||||||
git-core \
|
&& apt update \
|
||||||
libboost-filesystem1.54.0 \
|
&& apt install -y audiowaveform \
|
||||||
libboost-filesystem-dev \
|
|
||||||
libboost-program-options1.54.0 \
|
|
||||||
libboost-program-options-dev \
|
|
||||||
libboost-regex1.54.0 \
|
|
||||||
libboost-regex-dev \
|
|
||||||
libgd2-xpm-dev \
|
|
||||||
libgd3 \
|
|
||||||
libmad0 \
|
|
||||||
libmad0-dev \
|
|
||||||
libsndfile1 \
|
|
||||||
libsndfile1-dev \
|
|
||||||
make \
|
|
||||||
unzip \
|
|
||||||
wget \
|
|
||||||
&& git clone https://github.com/bbcrd/audiowaveform.git \
|
|
||||||
&& cd audiowaveform \
|
|
||||||
&& wget https://googlemock.googlecode.com/files/gmock-1.7.0.zip \
|
|
||||||
&& unzip gmock-1.7.0.zip \
|
|
||||||
&& ln -s gmock-1.7.0 gmock \
|
|
||||||
&& mkdir build \
|
|
||||||
&& cd build \
|
|
||||||
&& cmake .. \
|
|
||||||
&& make install \
|
|
||||||
&& cd .. \
|
|
||||||
&& rm -rf audiowaveform \
|
|
||||||
&& apt-get purge --auto-remove -y cmake \
|
|
||||||
g++ \
|
|
||||||
gcc \
|
|
||||||
git-core \
|
|
||||||
libboost-filesystem-dev \
|
|
||||||
libboost-program-options-dev \
|
|
||||||
libboost-regex-dev \
|
|
||||||
libgd2-xpm-dev \
|
|
||||||
libmad0-dev \
|
|
||||||
libsndfile1-dev \
|
|
||||||
make \
|
|
||||||
unzip \
|
|
||||||
wget \
|
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
ENTRYPOINT ["audiowaveform"]
|
ENTRYPOINT ["audiowaveform"]
|
||||||
|
@ -11,7 +11,7 @@ applications.
|
|||||||
### Run
|
### Run
|
||||||
|
|
||||||
$ docker pull vimagick/audiowaveform
|
$ docker pull vimagick/audiowaveform
|
||||||
$ alias awf='docker run --rm -v `pwd`:/work -w /work vimagick/audiowaveform'
|
$ alias awf='docker run --rm -v `pwd`:/data -w /data vimagick/audiowaveform'
|
||||||
$ awf -i input.mp3 -o output.png
|
$ awf -i input.mp3 -o output.png
|
||||||
|
|
||||||
## Command line options
|
## Command line options
|
||||||
|
Loading…
Reference in New Issue
Block a user