[Jay Blanchard (accepted answer)] We continued to research and set up a support request (unanswered) with AWS for why GPG started failing in Dockerfiles in CodeBuild. All of the testing mentioned led to one conclusion, GPG calls worked properly from the command line on an EC2 instance and within a Docker container on that instance.

Context: Stack Overflow #76823249 (accepted answer, 3 votes, 1 answers): We have the following Dockerfile (I have removed the unecessary parts) which we have used for well over a year now and suddenly, when it gets to the gpg --batch --verify... step the build hangs during CodeBuild and ultimately times out. I have been researching for the past few days, but I cannot find anything related. ``` FROM amazoncorretto:11-alpine-jdk ENV PATH /usr/local/tomee/bin:$PATH RUN mkdir -p /usr/local/tomee ENV TZ America/New_York RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ /etc/timezone WORKDIR /usr/local/tomee # add the things we need to build the image R

## Matched source
Source: Published skill
Original query: "Some GPG Commands Suddenly Failing in Dockerfile on AWS"
Key terms: commands, dockerfile, failing, some, suddenly
