Merge pull request #20 from linuxserver/simplify_layers

simplify layers, replace broken shntools source
This commit is contained in:
aptalca 2017-05-03 13:37:43 -04:00 committed by GitHub
commit 477c46ee3d
2 changed files with 16 additions and 11 deletions

View file

@ -1,25 +1,29 @@
FROM lsiobase/alpine.python:3.5 FROM lsiobase/alpine.python:3.5
MAINTAINER smdion <me@seandion.com> ,sparklyballs MAINTAINER smdion <me@seandion.com> ,sparklyballs
# install packages # set version label
RUN \ ARG BUILD_DATE
apk add --no-cache \ ARG VERSION
ffmpeg \ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
mc
# install build packages # install build packages
RUN \ RUN \
apk add --no-cache --virtual=build-dependencies \ apk add --no-cache --virtual=build-dependencies \
g++ \ g++ \
gcc \ gcc \
make && \ make && \
# compile shntool # install runtime packages
apk add --no-cache \
ffmpeg \
mc && \
# compile shntool
mkdir -p \ mkdir -p \
/tmp/shntool && \ /tmp/shntool && \
curl -o \ curl -o \
/tmp/shntool-src-tar.gz -L \ /tmp/shntool-src-tar.gz -L \
http://www.etree.org/shnutils/shntool/dist/src/shntool-3.0.10.tar.gz && \ http://shnutils.freeshell.org/shntool/dist/src/shntool-3.0.10.tar.gz && \
tar xf /tmp/shntool-src-tar.gz -C \ tar xf /tmp/shntool-src-tar.gz -C \
/tmp/shntool --strip-components=1 && \ /tmp/shntool --strip-components=1 && \
cd /tmp/shntool && \ cd /tmp/shntool && \
@ -32,7 +36,7 @@ RUN \
make && \ make && \
make install && \ make install && \
# cleanup # cleanup
apk del --purge \ apk del --purge \
build-dependencies && \ build-dependencies && \
rm -rf \ rm -rf \
@ -42,6 +46,6 @@ RUN \
# add local files # add local files
COPY root/ / COPY root/ /
# ports and volumes # ports and volumes
EXPOSE 8181 EXPOSE 8181
VOLUME /config /downloads /music VOLUME /config /downloads /music

View file

@ -73,6 +73,7 @@ Access WebUI at `<your-ip>:8181` and walk through the wizard.
## Version History ## Version History
+ **03.05.17:** Reduce layer, replace broken source for shntool.
+ **07.02.17:** Rebase to alpine 3.5. + **07.02.17:** Rebase to alpine 3.5.
+ **23.12.16:** Fix capitalisation in README. + **23.12.16:** Fix capitalisation in README.
+ **09.09.16:** Add layer badges to README. + **09.09.16:** Add layer badges to README.