[SPARK-40513] Add --batch to gpg command

### What changes were proposed in this pull request?
Add --batch to gpg command which essentially puts GnuPG into "API mode" instead of "UI mode".
Apply changes to 3.4.x dockerfile.

### Why are the changes needed?
Address DOI comments: https://github.com/docker-library/official-images/pull/13089#issuecomment-1611814491

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
CI passed

Closes #51 from Yikun/batch.

Authored-by: Yikun Jiang <yikunkero@gmail.com>
Signed-off-by: Yikun Jiang <yikunkero@gmail.com>
3 files changed
tree: 2d59023233f962433f4bde02d08e65075ebfdbf5
  1. .github/
  2. 3.3.0/
  3. 3.3.1/
  4. 3.3.2/
  5. 3.4.0/
  6. 3.4.1/
  7. testing/
  8. tools/
  9. .asf.yaml
  10. add-dockerfiles.sh
  11. awesome-spark-docker.md
  12. CONTRIBUTING.md
  13. Dockerfile.template
  14. entrypoint.sh.template
  15. LICENSE
  16. merge_spark_docker_pr.py
  17. NOTICE
  18. OVERVIEW.md
  19. r-python.template
  20. README.md
  21. versions.json
README.md

Apache Spark Official Dockerfiles

What is Apache Spark?

Spark is a unified analytics engine for large-scale data processing. It provides high-level APIs in Scala, Java, Python, and R, and an optimized engine that supports general computation graphs for data analysis. It also supports a rich set of higher-level tools including Spark SQL for SQL and DataFrames, pandas API on Spark for pandas workloads, MLlib for machine learning, GraphX for graph processing, and Structured Streaming for stream processing.

https://spark.apache.org/

About this repository

This repository contains the Dockerfiles used to build the Apache Spark Docker Image.

See more in SPARK-40513: SPIP: Support Docker Official Image for Spark.