update mutt

Signed-off-by: Jess Frazelle <jess@mesosphere.com>
This commit is contained in:
Jess Frazelle 2016-04-12 11:04:29 -07:00
parent 006f7b029d
commit 23c5502df4
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
2 changed files with 6 additions and 3 deletions

View File

@ -8,7 +8,7 @@
# --name mutt \
# jess/mutt
#
FROM alpine:latest
FROM alpine:edge
MAINTAINER Jessica Frazelle <jess@docker.com>
RUN addgroup -g 1000 user \
@ -18,7 +18,7 @@ RUN apk --update add \
ca-certificates \
elinks \
git \
gnupg \
gnupg1 \
lynx \
mutt \
mutt-doc \
@ -30,7 +30,7 @@ ENV BROWSER lynx
USER user
ENV HOME /home/user
ENV TERM xterm
ENV TERM xterm-256color
RUN mkdir -p $HOME/.mutt/cache/headers $HOME/.mutt/cache/bodies \
&& touch $HOME/.mutt/certificates

View File

@ -38,6 +38,9 @@ if [ -d "$HOME/.gnupg" ]; then
# social citizen of the world
{
echo
if [ -f "/etc/Muttrc.gpg.dist" ]; then
echo 'source /etc/Muttrc.gpg.dist'
fi
if [ -f "/usr/share/doc/mutt/samples/gpg.rc" ]; then
echo 'source /usr/share/doc/mutt/samples/gpg.rc'
fi