Skip to content

Commit

Permalink
gnupg --no-tty option
Browse files Browse the repository at this point in the history
  • Loading branch information
dennybaa committed Nov 30, 2018
1 parent f8c43d0 commit fe55ba9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions jessie-chrome/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ RUN \
keyserver.ubuntu.com \
hkp://keyserver.ubuntu.com:80 \
pgp.mit.edu; do \
gpg --keyserver "$server" --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 && break || echo "Trying new server..."; \
gpg --no-tty --keyserver "$server" --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 && break || echo "Trying new server..."; \
done && \
gpg --batch --verify tini-amd64.asc tini-amd64 && mv tini-amd64 /sbin/tini && chmod 755 /sbin/tini && \
gpg --batch --no-tty --verify tini-amd64.asc tini-amd64 && mv tini-amd64 /sbin/tini && chmod 755 /sbin/tini && \
rm -rf /tmp/*

## Install latest Chrome package
Expand Down
4 changes: 2 additions & 2 deletions jessie/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ RUN \
keyserver.ubuntu.com \
hkp://keyserver.ubuntu.com:80 \
pgp.mit.edu; do \
gpg --keyserver "$server" --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 && break || echo "Trying new server..."; \
gpg --no-tty --keyserver "$server" --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 && break || echo "Trying new server..."; \
done && \
gpg --batch --verify tini-amd64.asc tini-amd64 && mv tini-amd64 /sbin/tini && chmod 755 /sbin/tini && \
gpg --batch --no-tty --verify tini-amd64.asc tini-amd64 && mv tini-amd64 /sbin/tini && chmod 755 /sbin/tini && \
rm -rf /tmp/*

COPY /entrypoint.sh /
Expand Down

0 comments on commit fe55ba9

Please sign in to comment.