Skip to content

Commit 5a1780f

Browse files
author
Petitlaurent, JeanLouis
committed
Error during build: gpg: cannot open '/dev/tty': No such device or address
See issue in nodejs/docker-node#922 I backport this correction
1 parent 5561c8e commit 5a1780f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ RUN apt-get update \
3838
&& curl -sL \
3939
https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini.asc \
4040
> /sbin/tini.asc \
41-
&& gpg --keyserver pool.sks-keyservers.net --recv-keys \
41+
&& gpg --no-tty --keyserver pool.sks-keyservers.net --recv-keys \
4242
595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 \
4343
&& gpg --verify /sbin/tini.asc \
4444
&& rm -rf /root/.gnupg \

0 commit comments

Comments
 (0)