'update files with ansible'
This commit is contained in:
+7
-11
@@ -1,28 +1,24 @@
|
||||
# Base on latest (edge) alpine image
|
||||
FROM harbor.ervine.dev/public/x86_64/alpine:v3.13
|
||||
FROM harbor.ervine.dev/public/x86_64/alpine:v3.13.1
|
||||
|
||||
LABEL maintainer="Jonathan Ervine <docker@ervine.org>"
|
||||
LABEL Maintainer="Jonathan Ervine docker@ervine.org"
|
||||
LABEL build-date="02 10 2020"
|
||||
|
||||
# Install updates
|
||||
ENV LANG='en_US.UTF-8' \
|
||||
LANGUAGE='en_US.UTF-8' \
|
||||
TERM='xterm' \
|
||||
TORRENT_USER='torrent' \
|
||||
TORRENT_UID='1027' \
|
||||
TORRENT_GID='1027'
|
||||
TERM='xterm'
|
||||
|
||||
RUN echo http://dl-4.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories && \
|
||||
apk update && \
|
||||
apk -U upgrade --ignore alpine-baselayout && \
|
||||
apk -U add \
|
||||
transmission-daemon && \
|
||||
apk -U add transmission-daemon && \
|
||||
wget https://github.com/Secretmapper/combustion/archive/release.zip && \
|
||||
unzip release.zip && \
|
||||
mv combustion-release/* /usr/share/transmission/web/ && \
|
||||
rmdir combustion-release && \
|
||||
addgroup -g $TORRENT_GID $TORRENT_USER && \
|
||||
adduser -D -u $TORRENT_UID -G $TORRENT_USER -H $TORRENT_USER && \
|
||||
addgroup -g 1027 torrent && \
|
||||
adduser -D -u 1027 -G torrent -H torrent && \
|
||||
rm release.zip
|
||||
|
||||
RUN rm -rf /var/cache/apk/*
|
||||
@@ -31,6 +27,6 @@ EXPOSE 9091 56451 56451/udp
|
||||
|
||||
VOLUME /config
|
||||
|
||||
#USER $TORRENT_USER
|
||||
#USER torrent
|
||||
|
||||
CMD [ "/usr/bin/transmission-daemon", "-f", "-g", "/config/" ]
|
||||
|
||||
Reference in New Issue
Block a user