Openedx build fork repo build issue

@regis,

I am trying to build by custom edx-platform as suggested by running the

tutor images build openedx \
--build-arg EDX_PLATFORM_REPOSITORY=https://mygitrepo/edx-platform.git \
--build-arg EDX_PLATFORM_VERSION=my-tag-or-branch

the image is building fine and i able to see my changes by running

tutor local quickstart or start

But, Now I have make few commits to my git repo lets say some ui customizations and now i am trying to build the edx platform and trying to running it but I am not able to see those changes. Seems like same container is being taken.

Kindlly suggest what to do in this regards.

Are you using a different my-tag-or-branch for every release? If not, then Docker will consider that the layer has not changed and will load it from its cache, so the image will not be modified: https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#leverage-build-cache

If this is the issue that you are facing, I suggest you run instead:

tutor images build openedx --no-cache \
--build-arg EDX_PLATFORM_REPOSITORY=https://mygitrepo/edx-platform.git \
--build-arg EDX_PLATFORM_VERSION=my-tag-or-branch
1 Like

@regis we are using the same tag name.

Thanks for the information very helpful.

Have a great day.