prep for nonempty pp
Some checks are pending
Test / build (push) Waiting to run

This commit is contained in:
2024-07-07 13:16:12 -07:00
parent e47ee47b55
commit dd21568531
4 changed files with 10 additions and 1 deletions

View File

@ -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