mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 21:33:02 +01:00
add audiowaveform
This commit is contained in:
48
audiowaveform/Dockerfile
Normal file
48
audiowaveform/Dockerfile
Normal file
@@ -0,0 +1,48 @@
|
||||
#
|
||||
# Dockerfile for audiowaveform
|
||||
#
|
||||
|
||||
FROM ubuntu
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
|
||||
RUN apt-update \
|
||||
&& apt install -y cmake \
|
||||
g++ \
|
||||
gcc \
|
||||
git-core \
|
||||
libboost-filesystem-dev \
|
||||
libboost-program-options-dev \
|
||||
libboost-regex-dev \
|
||||
libgd2-xpm-dev \
|
||||
libmad0-dev \
|
||||
libsndfile1-dev \
|
||||
make \
|
||||
wget \
|
||||
&& cd audiowaveform \
|
||||
&& git clone https://github.com/bbcrd/audiowaveform.git . \
|
||||
&& 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 \
|
||||
wget \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ENTRYPOINT ["audiowaveform"]
|
||||
CMD ["--help"]
|
||||
|
||||
Reference in New Issue
Block a user