summaryrefslogtreecommitdiff
path: root/.dockerignore
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2019-08-06 14:50:52 +0200
committerRémy Coutable <remy@rymai.me>2019-08-19 09:44:53 +0200
commitb601cfcfa707235d7f5eed43bfbe0d3956adff40 (patch)
tree015c03e9f1ae35ac0707ca9c3e0d85f848777fff /.dockerignore
parent6aa215aaea146f21eb5a88a511f7bbe84ad31ef5 (diff)
downloadgitlab-ce-b601cfcfa707235d7f5eed43bfbe0d3956adff40.tar.gz
Update qa/Dockerfile to be built from the project root context
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to '.dockerignore')
-rw-r--r--.dockerignore72
1 files changed, 72 insertions, 0 deletions
diff --git a/.dockerignore b/.dockerignore
new file mode 100644
index 00000000000..b8e239e4049
--- /dev/null
+++ b/.dockerignore
@@ -0,0 +1,72 @@
+# `build_from_dir` can't find Dockerfile when `.dockerignore` is "*"
+# See https://github.com/swipely/docker-api/issues/484
+# Ignore all folders except qa/, config/initializers and the root of lib/ since
+# the files we need to build the QA image are in these folders.
+# Following are the files we need:
+# - ./config/initializers/0_inject_enterprise_edition_module.rb
+# - ./lib/gitlab.rb
+# - ./qa/
+# - ./INSTALLATION_TYPE
+# - ./VERSION
+
+/app/
+/bin/
+/builds/
+/changelogs/
+/config/environments/
+/config/helpers/
+/config/knative/
+/config/locales/
+/config/prometheus/
+/config/routes/
+/danger/
+/db/
+/doc/
+/docker/
+/ee/
+/fixtures/
+/templates/
+/lint/
+/lib/api/
+/lib/assets/
+/lib/backup/
+/lib/banzai/
+/lib/bitbucket/
+/lib/server/
+/lib/constraints/
+/lib/registry/
+/lib/policy/
+/lib/feature/
+/lib/flowdock/
+/lib/generators/
+/lib/gitaly/
+/lib/gitlab/
+/lib/api/
+/lib/token/
+/lib/mattermost/
+/lib/teams/
+/lib/storage/
+/lib/auth/
+/lib/peek/
+/lib/prometheus/
+/lib/quality/
+/lib/rouge/
+/lib/flaky/
+/lib/zip/
+/lib/sentry/
+/lib/serializers/
+/lib/support/
+/lib/check/
+/lib/tasks/
+/locale/
+/log/
+/modules/
+/plugins/
+/public/
+/rubocop/
+/scripts/
+/shared/
+/spec/
+/symbol/
+/tmp/
+/vendor/