mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-14 06:34:58 +00:00
Added recommended settings - Build from a specific version to make builds reproducible, and clean up after apt-get
This commit is contained in:
parent
f9dff3aaf4
commit
c2d97248aa
@ -2,7 +2,7 @@
|
||||
#
|
||||
# Version 0.9
|
||||
|
||||
FROM phusion/baseimage:latest
|
||||
FROM phusion/baseimage:0.9.15
|
||||
MAINTAINER Kristian Haugene
|
||||
|
||||
VOLUME /data
|
||||
@ -48,3 +48,6 @@ ADD transmission/periodicUpdates.sh /etc/transmission-daemon/periodicUpdates.sh
|
||||
# Expose port and run. Use baseimage-docker's init system
|
||||
EXPOSE 9091
|
||||
CMD ["/sbin/my_init"]
|
||||
|
||||
# Clean up APT when done.
|
||||
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
Loading…
Reference in New Issue
Block a user