Add .gitignore to ignore build artifacts

Change-Id: I748fa99fa4e77f372abab1268f8ed50ad88f9165
diff --git a/.gitignore b/.gitignore
index bee2327..65bbad1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,44 @@
-*.pyc
-*.retry
 credentials/*
-.vagrant
 cord_profile/
+
+# Java
+*.class
+*.jar
+*.war
+*.oar
+
+# Python
+*.pyc
+
+# Eclipse
+.project
+.classpath
+.settings
+
+# Idea
+.idea
+*.iml
+*.iws
+*.ipr
+
+# OS
+Thumbs.db
+.DS_Store
+
+# Vagrant
+.vagrant
+
+# Docker registry
+/registry
+
+# Build
+build
+
+# Gradle
+.gradle
+
+# Ansible
+ansible/*.retry
+
+# Backup files
+*.bak