Skip to content

Commit

Permalink
Make pipe location random,add wget and curl apk
Browse files Browse the repository at this point in the history
  • Loading branch information
sandipb committed Jul 13, 2022
1 parent eb10a26 commit 73ebb55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN set -xe \
&& apk update \
&& apk upgrade \
&& apk add --no-cache \
libcrypto1.1 libssl1.1 moreutils bash \
libcrypto1.1 libssl1.1 moreutils bash wget curl \
&& apk add --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ \
imapfilter \
&& apk del --progress --purge \
Expand Down
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ exec 3>&1

# https://www.linuxjournal.com/content/bash-redirections-using-exec
if [[ -n $IMAPFILTER_LOG_DIR ]];then
npipe_stdout=/tmp/stdout-$$.tmp
npipe_stderr=/tmp/stderr-$$.tmp
npipe_stdout=/tmp/imapfilter-stdout-$$-${RANDOM}.tmp
npipe_stderr=/tmp/imapfilter-stderr-$$-${RANDOM}.tmp
mknod $npipe_stdout p
mknod $npipe_stderr p

Expand Down

0 comments on commit 73ebb55

Please sign in to comment.