This commit is contained in:
@ -12,11 +12,13 @@ RUN apk update && \
|
||||
sed -i -e 's/inet_interfaces = localhost/inet_interfaces = all/g' /etc/postfix/main.cf
|
||||
|
||||
# Gpg for pass/pmb
|
||||
ARG GPG_PP=""
|
||||
RUN echo "@@@@@@@@@@@@@@@@@@@@ Passphrase:"${GPG_PP}
|
||||
RUN mkdir /root/.gnupg
|
||||
#RUN echo "default-cache-ttl 34560000" >> /root/.gnupg/gpg-agent.conf
|
||||
#RUN echo "max-cache-ttl 34560000" >> /root/.gnupg/gpg-agent.conf
|
||||
RUN gpg-agent --daemon --batch --disable-scdaemon
|
||||
RUN gpg --quick-gen-key --batch --passphrase '' pmbkey
|
||||
RUN gpg --quick-gen-key --batch --passphrase "${GPG_PP}" pmbkey
|
||||
RUN pass init pmbkey
|
||||
|
||||
COPY dotmsmtprc /root/.msmtprc
|
||||
|
Reference in New Issue
Block a user