summaryrefslogtreecommitdiff
path: root/grpc/tools/dockerfile/test/cxx_alpine_x64/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'grpc/tools/dockerfile/test/cxx_alpine_x64/Dockerfile')
-rw-r--r--grpc/tools/dockerfile/test/cxx_alpine_x64/Dockerfile10
1 files changed, 8 insertions, 2 deletions
diff --git a/grpc/tools/dockerfile/test/cxx_alpine_x64/Dockerfile b/grpc/tools/dockerfile/test/cxx_alpine_x64/Dockerfile
index 819c986d..9121f4f7 100644
--- a/grpc/tools/dockerfile/test/cxx_alpine_x64/Dockerfile
+++ b/grpc/tools/dockerfile/test/cxx_alpine_x64/Dockerfile
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-FROM alpine:3.11
+FROM alpine:3.15
# Install Git and basic packages.
RUN apk update && apk add \
@@ -66,6 +66,12 @@ RUN curl -sSL -o ccache.tar.gz https://github.com/ccache/ccache/releases/downloa
RUN mkdir /var/local/jenkins
-
+#=================
+# Setup git to access working directory across docker boundary
+
+RUN git config --global --add safe.directory /var/local/jenkins/grpc
+RUN git config --global protocol.file.allow always
+
+
# Define the default command.
CMD ["bash"]