mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-12 14:17:46 +00:00
fix: pin openedx dev Docker image tag with tutor version
When running: tutor dev run -m /path/to/edx-platform lms pip install -r requirements/edx/development.txt I realised that I was re-installing packages that should already have been present in the image. The reason for that was that I was running an outdated version of the dev version of the openedx Docker image. This happens because `tutor dev run` does not trigger an image re-build. We solve this issue by pinning the openedx dev Docker image tag to the current tutor version.
This commit is contained in:
parent
7b72a5a910
commit
ff0e8f7140
@ -0,0 +1 @@
|
||||
- [Bugfix] Fix tag of "openedx" development Docker image. Previously, this Docker tag did not include the Tutor version. As a consequence, a different cached image could be used in some cases. For instance: when running `tutor dev run` commands. Now, the image tag is "openedx-dev:TUTOR_VERSION".
|
@ -63,7 +63,7 @@ Custom images
|
||||
|
||||
This configuration parameter defines the name of the Docker image to run for the lms and cms containers. By default, the Docker image tag matches the Tutor version it was built with.
|
||||
|
||||
- ``DOCKER_IMAGE_OPENEDX_DEV`` (default: ``"openedx-dev"``)
|
||||
- ``DOCKER_IMAGE_OPENEDX_DEV`` (default: ``"openedx-dev:{{ TUTOR_VERSION }}"``)
|
||||
|
||||
This configuration paramater defines the name of the Docker image to run the development version of the lms and cms containers. By default, the Docker image tag matches the Tutor version it was built with.
|
||||
|
||||
|
@ -11,7 +11,7 @@ DEV_PROJECT_NAME: "{{ TUTOR_APP }}_dev"
|
||||
DOCKER_COMPOSE_VERSION: "3.7"
|
||||
DOCKER_REGISTRY: "docker.io/"
|
||||
DOCKER_IMAGE_OPENEDX: "{{ DOCKER_REGISTRY }}overhangio/openedx:{{ TUTOR_VERSION }}"
|
||||
DOCKER_IMAGE_OPENEDX_DEV: "openedx-dev"
|
||||
DOCKER_IMAGE_OPENEDX_DEV: "openedx-dev:{{ TUTOR_VERSION }}"
|
||||
DOCKER_IMAGE_CADDY: "docker.io/caddy:2.4.6"
|
||||
DOCKER_IMAGE_ELASTICSEARCH: "docker.io/elasticsearch:7.10.1"
|
||||
DOCKER_IMAGE_MONGODB: "docker.io/mongo:4.2.17"
|
||||
|
Loading…
Reference in New Issue
Block a user