Apache DataFusion SQL Query Engine
ARROW-4907: [CI] Add docker container to inspect docker context
Uwe L. Korn7e05743dd2a2
diff --git a/dev/Dockerfile.context b/dev/Dockerfile.contextnew file mode 100644index 0000000000..f0e7cdd6b5--- /dev/null+++ b/dev/Dockerfile.context@@ -0,0 +1,21 @@+# Licensed to the Apache Software Foundation (ASF) under one+# or more contributor license agreements. See the NOTICE file+# distributed with this work for additional information+# regarding copyright ownership. The ASF licenses this file+# to you under the Apache License, Version 2.0 (the+# "License"); you may not use this file except in compliance+# with the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing,+# software distributed under the License is distributed on an+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY+# KIND, either express or implied. See the License for the+# specific language governing permissions and limitations+# under the License.++FROM ubuntu:latest++COPY . /context+CMD du -sh /context/*diff --git a/docker-compose.yml b/docker-compose.ymlindex 0217e74c71..44d0d7fa4f 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -68,6 +68,24 @@ volumes:spark-cache:services:+ ######################### Helper Containers #################################++ build-context:+ # The performance of the docker containers often depends on the size of the+ # build context. This is a helper container that adds the full build context+ # into the /context folder.+ #+ # One can inspect the folder and add files that should not be in the context+ # to .dockerignore.+ #+ # Usage:+ # docker-compose build build-context+ # docker-compose run build-context+ image: arrow:build-context+ build:+ context: .+ dockerfile: dev/Dockerfile.context+######################### Language Containers ###############################c_glib: