Merge pull request #3 from sparklyballs/master
change to python baseimage
This commit is contained in:
commit
3f18b44c66
6 changed files with 6 additions and 27 deletions
13
Dockerfile
13
Dockerfile
|
@ -1,24 +1,19 @@
|
|||
FROM linuxserver/baseimage
|
||||
FROM linuxserver/baseimage.python
|
||||
MAINTAINER smdion <me@seandion.com>
|
||||
ENV LC_ALL C.UTF-8
|
||||
ENV LANG en_US.UTF-8
|
||||
|
||||
|
||||
# Use baseimage-docker's init system
|
||||
CMD ["/sbin/my_init"]
|
||||
ENV PYTHONIOENCODING="UTF-8" APTLIST="ffmpeg mc"
|
||||
|
||||
# Install Dependencies
|
||||
RUN add-apt-repository ppa:mc3man/trusty-media && \
|
||||
apt-get update && \
|
||||
apt-get install -qy git mc ffmpeg python wget && \
|
||||
apt-get install -qy $APTLIST && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists/* /var/tmp/*
|
||||
|
||||
#Adding Custom files
|
||||
ADD init/ /etc/my_init.d/
|
||||
ADD services/ /etc/service/
|
||||
ADD defaults/ /defaults
|
||||
RUN chmod -v +x /etc/service/*/run
|
||||
RUN chmod -v +x /etc/my_init.d/*.sh
|
||||
RUN chmod -v +x /etc/service/*/run /etc/my_init.d/*.sh
|
||||
|
||||
#Volumes and Ports
|
||||
EXPOSE 8181
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||

|
||||
|
||||
The [LinuxServer.io](http://linuxserver.io) team brings you another quality container release featuring auto-update on startup, easy user mapping and community support. Be sure to checkout our [forums](http://forum.linuxserver.io) or for real-time support our [IRC](http://www.linuxserver.io/index.php/irc/) on freenode at `#linuxserver.io`.
|
||||
The [LinuxServer.io](https://linuxserver.io) team brings you another quality container release featuring auto-update on startup, easy user mapping and community support. Be sure to checkout our [forums](https://forum.linuxserver.io) or for real-time support our [IRC](https://www.linuxserver.io/index.php/irc/) on freenode at `#linuxserver.io`.
|
||||
|
||||
# linuxserver/Headphones
|
||||

|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ ! "$(id -u abc)" -eq "$PUID" ]; then usermod -o -u "$PUID" abc ; fi
|
||||
if [ ! "$(id -g abc)" -eq "$PGID" ]; then groupmod -o -g "$PGID" abc ; fi
|
||||
echo "
|
||||
-----------------------------------
|
||||
GID/UID
|
||||
-----------------------------------
|
||||
User uid: $(id -u abc)
|
||||
User gid: $(id -g abc)
|
||||
-----------------------------------
|
||||
"
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
apt-get update -qq
|
||||
apt-get --only-upgrade install -yqq ffmpeg
|
Loading…
Add table
Reference in a new issue