Remove versions and fix Dockerfile.
parent
bf74a00aac
commit
abdf143b71
|
@ -1,22 +0,0 @@
|
||||||
FROM alpine:3.3
|
|
||||||
|
|
||||||
ENV ICECAST_VERSION 2.3.3
|
|
||||||
|
|
||||||
RUN \
|
|
||||||
apk --update add build-base openssl libvorbis opus libogg speex libtheora curl &&\
|
|
||||||
curl http://downloads.xiph.org/releases/icecast/icecast-${ICECAST_VERSION}.tar.gz |\
|
|
||||||
tar xz -C /tmp &&\
|
|
||||||
cd /tmp/icecast-${ICECAST_VERSION} &&\
|
|
||||||
./configure --enable-static &&\
|
|
||||||
make &&\
|
|
||||||
make install &&\
|
|
||||||
apk del build-base &&\
|
|
||||||
cd $HOME &&\
|
|
||||||
rm -rf /tmp/* /var/cache/apk/* &&\
|
|
||||||
addgroup -g 9999 icecast &&\
|
|
||||||
adduser -S -D -H -u 9999 -G 9999 -s /bin/false icecast &&\
|
|
||||||
|
|
||||||
USER 9999
|
|
||||||
VOLUME [ "/data" ]
|
|
||||||
CMD [ "/usr/local/bin/icecast", "-c", "/data/icecast.xml" ]
|
|
||||||
EXPOSE 8000
|
|
|
@ -1,22 +0,0 @@
|
||||||
FROM alpine:3.3
|
|
||||||
|
|
||||||
ENV ICECAST_VERSION 2.4.0
|
|
||||||
|
|
||||||
RUN \
|
|
||||||
apk --update add build-base openssl libvorbis opus libogg speex libtheora curl &&\
|
|
||||||
curl http://downloads.xiph.org/releases/icecast/icecast-${ICECAST_VERSION}.tar.gz |\
|
|
||||||
tar xz -C /tmp &&\
|
|
||||||
cd /tmp/icecast-${ICECAST_VERSION} &&\
|
|
||||||
./configure --enable-static &&\
|
|
||||||
make &&\
|
|
||||||
make install &&\
|
|
||||||
apk del build-base &&\
|
|
||||||
cd $HOME &&\
|
|
||||||
rm -rf /tmp/* /var/cache/apk/* &&\
|
|
||||||
addgroup -g 9999 icecast &&\
|
|
||||||
adduser -S -D -H -u 9999 -G 9999 -s /bin/false icecast &&\
|
|
||||||
|
|
||||||
USER 9999
|
|
||||||
VOLUME [ "/data" ]
|
|
||||||
CMD [ "/usr/local/bin/icecast", "-c", "/data/icecast.xml" ]
|
|
||||||
EXPOSE 8000
|
|
|
@ -1,22 +0,0 @@
|
||||||
FROM alpine:3.3
|
|
||||||
|
|
||||||
ENV ICECAST_VERSION 2.4.1
|
|
||||||
|
|
||||||
RUN \
|
|
||||||
apk --update add build-base openssl libvorbis opus libogg speex libtheora curl &&\
|
|
||||||
curl http://downloads.xiph.org/releases/icecast/icecast-${ICECAST_VERSION}.tar.gz |\
|
|
||||||
tar xz -C /tmp &&\
|
|
||||||
cd /tmp/icecast-${ICECAST_VERSION} &&\
|
|
||||||
./configure --enable-static &&\
|
|
||||||
make &&\
|
|
||||||
make install &&\
|
|
||||||
apk del build-base &&\
|
|
||||||
cd $HOME &&\
|
|
||||||
rm -rf /tmp/* /var/cache/apk/* &&\
|
|
||||||
addgroup -g 9999 icecast &&\
|
|
||||||
adduser -S -D -H -u 9999 -G 9999 -s /bin/false icecast &&\
|
|
||||||
|
|
||||||
USER 9999
|
|
||||||
VOLUME [ "/data" ]
|
|
||||||
CMD [ "/usr/local/bin/icecast", "-c", "/data/icecast.xml" ]
|
|
||||||
EXPOSE 8000
|
|
|
@ -1,22 +0,0 @@
|
||||||
FROM alpine:3.3
|
|
||||||
|
|
||||||
ENV ICECAST_VERSION 2.4.2
|
|
||||||
|
|
||||||
RUN \
|
|
||||||
apk --update add build-base openssl libvorbis opus libogg speex libtheora curl &&\
|
|
||||||
curl http://downloads.xiph.org/releases/icecast/icecast-${ICECAST_VERSION}.tar.gz |\
|
|
||||||
tar xz -C /tmp &&\
|
|
||||||
cd /tmp/icecast-${ICECAST_VERSION} &&\
|
|
||||||
./configure --enable-static &&\
|
|
||||||
make &&\
|
|
||||||
make install &&\
|
|
||||||
apk del build-base &&\
|
|
||||||
cd $HOME &&\
|
|
||||||
rm -rf /tmp/* /var/cache/apk/* &&\
|
|
||||||
addgroup -g 9999 icecast &&\
|
|
||||||
adduser -S -D -H -u 9999 -G 9999 -s /bin/false icecast &&\
|
|
||||||
|
|
||||||
USER 9999
|
|
||||||
VOLUME [ "/data" ]
|
|
||||||
CMD [ "/usr/local/bin/icecast", "-c", "/data/icecast.xml" ]
|
|
||||||
EXPOSE 8000
|
|
|
@ -1,22 +0,0 @@
|
||||||
FROM alpine:3.3
|
|
||||||
|
|
||||||
ENV ICECAST_VERSION 2.5-beta1
|
|
||||||
|
|
||||||
RUN \
|
|
||||||
apk --update add build-base openssl libvorbis opus libogg speex libtheora curl &&\
|
|
||||||
curl http://downloads.xiph.org/releases/icecast/icecast-${ICECAST_VERSION}.tar.gz |\
|
|
||||||
tar xz -C /tmp &&\
|
|
||||||
cd /tmp/icecast-${ICECAST_VERSION} &&\
|
|
||||||
./configure --enable-static &&\
|
|
||||||
make &&\
|
|
||||||
make install &&\
|
|
||||||
apk del build-base &&\
|
|
||||||
cd $HOME &&\
|
|
||||||
rm -rf /tmp/* /var/cache/apk/* &&\
|
|
||||||
addgroup -g 9999 icecast &&\
|
|
||||||
adduser -S -D -H -u 9999 -G 9999 -s /bin/false icecast &&\
|
|
||||||
|
|
||||||
USER 9999
|
|
||||||
VOLUME [ "/data" ]
|
|
||||||
CMD [ "/usr/local/bin/icecast", "-c", "/data/icecast.xml" ]
|
|
||||||
EXPOSE 8000
|
|
|
@ -3,18 +3,21 @@ FROM alpine:3.3
|
||||||
ENV ICECAST_VERSION 2.4.3
|
ENV ICECAST_VERSION 2.4.3
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
apk --update add build-base openssl libvorbis opus libogg speex libtheora curl &&\
|
apk --update add build-base file libssl1.0 openssl-dev libxslt libxslt-dev libvorbis \
|
||||||
|
libvorbis-dev opus opus-dev libogg libogg-dev speex speex-dev libtheora \
|
||||||
|
libtheora-dev curl curl-dev &&\
|
||||||
curl http://downloads.xiph.org/releases/icecast/icecast-${ICECAST_VERSION}.tar.gz |\
|
curl http://downloads.xiph.org/releases/icecast/icecast-${ICECAST_VERSION}.tar.gz |\
|
||||||
tar xz -C /tmp &&\
|
tar xz -C /tmp &&\
|
||||||
cd /tmp/icecast-${ICECAST_VERSION} &&\
|
cd /tmp/icecast-${ICECAST_VERSION} &&\
|
||||||
./configure --enable-static &&\
|
./configure --enable-static &&\
|
||||||
make &&\
|
make &&\
|
||||||
make install &&\
|
make install &&\
|
||||||
apk del build-base &&\
|
apk del build-base file openssl-dev libxslt-dev libvorbis-dev opus-dev libogg-dev \
|
||||||
|
speex-dev libtheora-dev curl-dev &&\
|
||||||
cd $HOME &&\
|
cd $HOME &&\
|
||||||
rm -rf /tmp/* /var/cache/apk/* &&\
|
rm -rf /tmp/* /var/cache/apk/* &&\
|
||||||
addgroup -g 9999 icecast &&\
|
addgroup -g 9999 icecast &&\
|
||||||
adduser -S -D -H -u 9999 -G 9999 -s /bin/false icecast &&\
|
adduser -S -D -H -u 9999 -G icecast -s /bin/false icecast
|
||||||
|
|
||||||
USER 9999
|
USER 9999
|
||||||
VOLUME [ "/data" ]
|
VOLUME [ "/data" ]
|
Loading…
Reference in New Issue