docbrown/.gitignore
Joe Doss 44569605d2
Fix container composes w/r/t multistage container builds (#11531)
* Use premade development image.

* Use prebuilt container for podman-compose too!

* Fix bundle bundle_finished path.

* Fix docker-compose to work with the Multistage Containerfile

Add root user for Forem containers, fix bundle_finished path and make
webpacker wait for the bundle to finish.

Switch Redis to redis:6.0.9-alpine

* Remove build steps and fix bundle path.

* Merge dev entrypoint into the main one.

* Use merged entrypoint.sh, remove old entrypoint directives, and fix a dockerize bug.

* Make sure unset BUNDLE_WITHOUT and remove without in bundle config.

* Unset BUNDLE_WITHOUT="development:test" as a global ENV.

Also ensure that we remove the without directives for development and testing.
This will make sure that the right gems are installed for each environment.

Removed some unneeded COPYs and remove a commented out RUN.

* Fix ENTRYPOINT on development and testing containers.

* Fix entrypoint and command on rails container.

* Ignore bundle_finished file.

* Fix REDIS_ env vars and adjust podman-compose file.

* Change bundle_finished path and update Yarn docker-compose command.
2020-11-23 15:15:21 -06:00

89 lines
1.5 KiB
Text

# See https://help.github.com/articles/ignoring-files for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile '~/.gitignore_global'
# Ignore bundler config.
/.bundle
vendor/bundle
# Ignore all logfiles and tempfiles.
/log/*
!/log/.keep
/tmp
.DS_Store
.swp
.approvals
.torus.json
coverage
/tags
# Ignore public uploads
/public/uploads/*
/public/c/*
/public/i/*
/public/assets/*
# Ignore node_modules
node_modules/
# Generated js bundles
/app/assets/javascripts/generated/*
latest.dump
.byebug_history
.gitdocs_build/
# Ignore application configuration
/config/application.yml
/config/application_unused.yml
/public/packs
/public/packs-test
/node_modules
yarn-debug.log*
.yarn-integrity
.env
# Ignore storybook static site generation
app/javascript/storybook-static/
yarn-error.log
# Ignore package-lock.json because we use yarn
package-lock.json
#Jetbrains Tools
.idea/
#sitemap
/public/sitemap.xml.gz
# Development Docker storage location
_docker-storage/
# YARD generated doc (in the Gitdocs folder)
docs/.static/ruby-doc/
# ReDoc generated API doc (in the Gitdocs folder)
docs/.static/api/
# AWS Cloud9 specific folder for user settings
.c9/
# rvm
.ruby-gemset
# rbenv
.rbenv-vars
# asdf
.tool-versions
# Container volumes
db_data
es_data
gem_cache
# Compose generated files
bundle_finished
# Auto-generated Storybook stories
app/javascript/generated_stories/