-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Philipp
committed
Apr 30, 2016
0 parents
commit 845eb7d
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# SOX audio tool | ||
#FROM ubuntu:14.04 | ||
FROM meteorhacks/meteord:base | ||
MAINTAINER Philipp Fauser <[email protected]> | ||
RUN apt-get update | ||
|
||
# install sox and mp3 codec | ||
RUN apt-get install -y sox | ||
RUN apt-get install -y libsox-fmt-mp3 | ||
RUN apt-get install -y curl | ||
|
||
# create folders | ||
RUN mkdir /opt/files | ||
|
||
# get audio logo | ||
RUN curl https://dl.dropboxusercontent.com/u/5710883/audio_logo.mp3 > /opt/files/audio_logo.mp3 | ||
RUN ls -la | ||
|
||
# change permissions | ||
RUN chmod a+wx /opt | ||
RUN chmod a+wx /opt/files | ||
RUN chmod a+wx /opt/files/audio_logo.mp3 |