Removed 6 layers from docker image.
This commit is contained in:
parent
4358bd67f2
commit
6b86364216
1 changed files with 5 additions and 7 deletions
12
Dockerfile
12
Dockerfile
|
@ -8,10 +8,10 @@ ENV LANG en_US.UTF-8
|
|||
CMD ["/sbin/my_init"]
|
||||
|
||||
# Install Dependencies
|
||||
RUN add-apt-repository ppa:mc3man/trusty-media
|
||||
RUN apt-get update
|
||||
RUN apt-get install -qy git mc ffmpeg python wget
|
||||
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /var/tmp/*
|
||||
RUN add-apt-repository ppa:mc3man/trusty-media && \
|
||||
apt-get update && \
|
||||
apt-get install -qy git mc ffmpeg python wget && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists/* /var/tmp/*
|
||||
|
||||
#Adding Custom files
|
||||
ADD init/ /etc/my_init.d/
|
||||
|
@ -22,8 +22,6 @@ RUN chmod -v +x /etc/my_init.d/*.sh
|
|||
|
||||
#Volumes and Ports
|
||||
EXPOSE 8181
|
||||
VOLUME /config
|
||||
VOLUME /downloads
|
||||
VOLUME /music
|
||||
VOLUME ["/config", "/downloads", "/music"]
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue