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

View File

@ -38,6 +38,9 @@ if [ -d "$HOME/.gnupg" ]; then
# social citizen of the world # social citizen of the world
{ {
echo 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 if [ -f "/usr/share/doc/mutt/samples/gpg.rc" ]; then
echo 'source /usr/share/doc/mutt/samples/gpg.rc' echo 'source /usr/share/doc/mutt/samples/gpg.rc'
fi fi