Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Commit 07e8b7b

Browse files
committed
Run gpg command with --no-tty
1 parent 255f924 commit 07e8b7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile-slim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ ARG TINI_VERSION=v0.16.1
4343
COPY tini_pub.gpg ${JENKINS_HOME}/tini_pub.gpg
4444
RUN curl -fsSL https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-static-$(dpkg --print-architecture) -o /sbin/tini \
4545
&& curl -fsSL https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-static-$(dpkg --print-architecture).asc -o /sbin/tini.asc \
46-
&& gpg --import ${JENKINS_HOME}/tini_pub.gpg \
46+
&& gpg --no-tty --import ${JENKINS_HOME}/tini_pub.gpg \
4747
&& gpg --verify /sbin/tini.asc \
4848
&& rm -rf /sbin/tini.asc /root/.gnupg \
4949
&& chmod +x /sbin/tini

0 commit comments

Comments
 (0)