-
Notifications
You must be signed in to change notification settings - Fork 29
Dockerized dev #1474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
dl-maura
wants to merge
25
commits into
main
Choose a base branch
from
dockerized-dev
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Dockerized dev #1474
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
0bbb65a
Create Dockerfile
dl-maura 105931a
Failing on sqlite3 due to a path change
dl-maura 29e04a4
docker compose
dl-maura 06d92b5
fix solr path
dl-maura 51534da
load .env
dl-maura 4c69302
Dokcer solr support?
dl-maura d212812
Lets try this
dl-maura 12e86a4
Bundle install
dl-maura f8a9865
Update arclight.rake
dl-maura f62e8df
Entrypoint with seed file
dl-maura efb7a12
Using solr env
dl-maura 5b5df67
Final rake task
dl-maura e2b8d54
Update README.md
dl-maura 096d894
Update README.md
dl-maura 9ccd9b8
Adding in the mount
dl-maura 6604536
Merge remote-tracking branch 'refs/remotes/origin/dockerized-dev' int…
dl-maura 59ae625
Update README.md
dl-maura 631b4c7
Update README.md
dl-maura 5139534
Update README.md
dl-maura 053a05f
Switching to bookworm and explicitly setting the type of image to ahn…
dl-maura fd492ac
Ran rubocop -A
dl-maura 1d2fcd2
Moving to blacklight-core for consistency
dl-maura b023d16
Merge remote-tracking branch 'origin/main' into dockerized-dev
dl-maura 8bc64ba
Update README.md
dl-maura a12cc9e
Update README.md
dl-maura File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| ARG ALPINE_RUBY_VERSION | ||
|
|
||
| FROM --platform=linux/amd64 ruby:${ALPINE_RUBY_VERSION}-bookworm | ||
|
|
||
| ENV DEBIAN_FRONTEND noninteractive | ||
|
|
||
| RUN apt-get update -qq && \ | ||
| apt-get install -y \ | ||
| bash \ | ||
| build-essential \ | ||
| git \ | ||
| libxml2-dev \ | ||
| libxslt-dev \ | ||
| nodejs \ | ||
| shared-mime-info \ | ||
| sqlite3 \ | ||
| tzdata \ | ||
| yarn | ||
|
|
||
| RUN mkdir /app | ||
| WORKDIR /app | ||
|
|
||
| RUN gem update --system && \ | ||
| gem install bundler && \ | ||
| bundle config build.nokogiri --use-system-libraries | ||
|
|
||
| COPY . . | ||
|
|
||
| EXPOSE 3000 | ||
|
|
||
| CMD [".docker/app/entrypoint.sh"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| #!/usr/bin/env bash | ||
| set -e | ||
|
|
||
| rm -f /app/.internal_test_app/tmp/pids/server.pid | ||
| bundle install | ||
| bundle exec rails engine_cart:generate | ||
| bundle exec rails arclight:seed | ||
| bundle exec rake arclight:server["-p 3000 -b 0.0.0.0"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| ALPINE_RUBY_VERSION=3.2.2 | ||
| RAILS_VERSION=7.1.2 | ||
| VIEW_COMPONENT_VERSION=3.8.0 | ||
| SOLR_PORT=8983 | ||
| SOLR_URL=http://solr:8983/solr/blacklight-core | ||
| SOLR_VERSION=latest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.