<commit_before>FROM alpine:edge

MAINTAINER scorputty
LABEL Description="Transmission" Vendor="Stef Corputty" Version="0.0.6"

# variables
ENV appUser="media"
ENV appGroup="media"
ENV PUID="10000"
ENV PGID="10000"
ENV USERNAME admin
ENV PASSWORD <PASSWORD>

# ports should be mapped with the run command to match your situation
EXPOSE 9091 51413/tcp 51413/udp

# copy the start script and config to the container
COPY start.sh /start.sh

# copy default settings to /tmp
COPY settings.json /tmp/settings.json

# install transmission and su-exec (gosu)
RUN \
 apk --update add --no-cache \
 su-exec \
 curl \
 transmission-cli \
 transmission-daemon && \
 rm -rf /var/cache/apk/*

# user with access to media files and config
RUN addgroup -g ${PGID} ${appGroup} && \
 adduser -G ${appGroup} -D -u ${PUID} ${appUser}

# create directories<commit_msg>added bash<commit_after>FROM alpine:edge

MAINTAINER scorputty
LABEL Description="Transmission" Vendor="Stef Corputty" Version="0.0.7"

# variables
ENV appUser="media"
ENV appGroup="media"
ENV PUID="10000"
ENV PGID="10000"
ENV USERNAME admin
ENV PASSWORD <PASSWORD>

# ports should be mapped with the run command to match your situation
EXPOSE 9091 51413/tcp 51413/udp

# copy the start script and config to the container
COPY start.sh /start.sh

# copy default settings to /tmp
COPY settings.json /tmp/settings.json

# install transmission and su-exec (gosu)
RUN \
 apk --update add --no-cache \
 bash \
 su-exec \
 curl \
 transmission-cli \
 transmission-common \
 transmission-daemon && \
 rm -rf /var/cache/apk/*

# user with access to media files and config
RUN addgroup -g ${PGID} ${appGroup} && \
 adduser -G ${appGroup} -D -u ${PUID} ${appUser}

# create directories
{'fraction_non_alphanumeric': 0.10975609756097561, 'fraction_numerical': 0.0313588850174216, 'mean_word_length': 4.02332361516035, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3538305', 'n_tokens_mistral': 610, 'n_tokens_neox': 557, 'n_words': 200}