Re-land fix docker build and deploy_gallery-macos (#43654)

diff --git a/dev/ci/docker_linux/Gemfile b/dev/ci/docker_linux/Gemfile
new file mode 100644
index 0000000..9b041f8
--- /dev/null
+++ b/dev/ci/docker_linux/Gemfile
@@ -0,0 +1,5 @@
+source "https://rubygems.org"
+
+# Install fastlane which is used on Linux to build and deploy Android
+# builds to the Play Store.
+gem 'fastlane', '2.134.0'