|
@@ -48,9 +48,8 @@ RUN apk add --no-cache $PERL_MAIL_GNUPG_BUILD_PKGS \
|
|
|
ARG GPGIT_PATH=/usr/local/bin/gpgit
|
|
|
COPY --from=download /tmp/gpgit/gpgit $GPGIT_PATH
|
|
|
ENV GNUPG_IMPORT=""
|
|
|
-ENV RECIPIENTS="gpgit@dev.null"
|
|
|
-COPY serve-gpgit.sh /
|
|
|
-RUN chmod a+rx /serve-gpgit.sh
|
|
|
+COPY serve-gpgit.sh invoke-gpgit.sh /
|
|
|
+RUN chmod -c a+rx /serve-gpgit.sh /invoke-gpgit.sh
|
|
|
USER gpgit
|
|
|
# [string.ascii_lowercase.index(c) for c in 'gpgit']
|
|
|
ENTRYPOINT ["tini", "--"]
|