Skip to content

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

Merged
kdmccormick merged 1 commit into
masterfrom
kdmccormick/docker
Dec 23, 2021
Merged

kdmccormick merged 1 commit into
masterfrom
kdmccormick/docker

Conversation

@kdmccormick

@kdmccormick kdmccormick commented Dec 21, 2021 •

Copy link
Copy Markdown
Member

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
Copy Markdown
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
Copy Markdown
Member Author

GitHub Action in this PR is bugged; fixing in https://github.com/edx/credentials/pull/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