Skip to content

Commit

Permalink
Merge branch 'main' into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelGoerentz committed Nov 6, 2024
2 parents 4bdc5bc + 70be3a4 commit 1d471cf
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,11 @@ RUN apk update && apk upgrade && apk add ca-certificates curl ffmpeg vlc doas tz

# Add group wheel to doas
RUN echo "permit persist :wheel" >> /etc/doas.d/doas.conf
RUN whoami

# Add threadfin group and user
RUN addgroup -S threadfin -g ${THREADFIN_GID} \
&& adduser threadfin -G threadfin -u ${THREADFIN_UID} -g ${THREADFIN_GID} -s /bin/sh -D \
RUN addgroup -S threadfin -g "${THREADFIN_GID}" \
&& adduser threadfin -G threadfin -u "${THREADFIN_UID}" -g "${THREADFIN_GID}" -s /bin/sh -D \
&&adduser threadfin wheel \
&& echo "threadfin:threadfin" | chpasswd

Expand All @@ -86,9 +87,6 @@ RUN chmod +rx $THREADFIN_BIN/threadfin && mkdir $THREADFIN_HOME/cache
# Create working directories for Threadfin
RUN mkdir $THREADFIN_CONF && chmod a+rwX $THREADFIN_CONF && mkdir $THREADFIN_TEMP && chmod a+rwX $THREADFIN_TEMP

# Add threadfin group and user
RUN addgroup -S threadfin -g ${THREADFIN_GID} && adduser -S threadfin -G threadfin -u ${THREADFIN_UID} -g ${THREADFIN_GID} -s /bin/sh

# Configure container volume mappings
VOLUME $THREADFIN_CONF
VOLUME $THREADFIN_TEMP
Expand Down

0 comments on commit 1d471cf

Please sign in to comment.