Skip to content
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

build: tweak dockerfile; build and push both base and dev images #1510

Merged
merged 1 commit into from
Dec 23, 2021

Conversation

kdmccormick
Copy link
Member

@kdmccormick kdmccormick commented Dec 21, 2021

Description

build: tweak dockerfile; build and push both base and dev images

dockerfile changes:

  • rename stages ('app', 'devstack') to ('base', 'dev')
    to match edx-platform's Dockerfile.
  • add comment to top of dockerfile warnings of its experimental
    dev-only state.
  • remove newrelic build stage, which doesn't belong in the
    core openedx repository.
  • touch ../credentials_env for devstack compatibility.

Testing instructions

See the testing instructions for the devstack PR.

Supporting information

This is a dependency attempt to use the experimental images in devstack, which itself is part of the effort to move off of edxops DockerHub org images.

dockerfile changes:
* rename stages ('app', 'devstack') to ('base', 'dev')
  to match edx-platform's Dockerfile.
* add comment to top of dockerfile warnings of its experimental
  dev-only state.
* remove newrelic build stage, which doesn't belong in the
  core openedx repository.
* in dev stage:
  * touch ../credentials_env for devstack compatibility.
  * set DJANGO_SETTINGS_MODULE=credentials.settings.devstack.
  * set command to a ./manage.py runserver.
@kdmccormick
Copy link
Member Author

Thanks for the review TJ!

@kdmccormick kdmccormick merged commit 0a65e82 into master Dec 23, 2021
@kdmccormick kdmccormick deleted the kdmccormick/docker branch December 23, 2021 16:58
@kdmccormick
Copy link
Member Author

GitHub Action in this PR is bugged; fixing in #1516

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants