Skip to content

Commit 39a9376

Browse files
authored
build!: Remove Dockerfile and image building workflows (#36006)
These are not maintained by the Open edX community. openedx/public-engineering#263
1 parent 971afe6 commit 39a9376

File tree

4 files changed

+1
-319
lines changed

4 files changed

+1
-319
lines changed

.github/workflows/docker-publish.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/workflows/publish-ci-docker-image.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

Dockerfile

Lines changed: 0 additions & 200 deletions
This file was deleted.

Makefile

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# Do things in edx-platform
22
.PHONY: base-requirements check-types clean \
33
compile-requirements detect_changed_source_translations dev-requirements \
4-
docker_auth docker_build docker_tag_build_push_lms docker_tag_build_push_lms_dev \
5-
docker_tag_build_push_cms docker_tag_build_push_cms_dev docs extract_translations \
4+
docs extract_translations \
65
guides help lint-imports local-requirements migrate migrate-lms migrate-cms \
76
pre-requirements pull pull_xblock_translations pull_translations push_translations \
87
requirements shell swagger \
@@ -67,9 +66,6 @@ pull_translations: clean_translations ## pull translations via atlas
6766
detect_changed_source_translations: ## check if translation files are up-to-date
6867
i18n_tool changed
6968

70-
pull: ## update the Docker image used by "make shell"
71-
docker pull edxops/edxapp:latest
72-
7369
pre-requirements: ## install Python requirements for running pip-tools
7470
pip install -r requirements/pip.txt
7571
pip install -r requirements/pip-tools.txt
@@ -94,13 +90,6 @@ test-requirements: pre-requirements
9490

9591
requirements: dev-requirements ## install development environment requirements
9692

97-
shell: ## launch a bash shell in a Docker container with all edx-platform dependencies installed
98-
docker run -it -e "NO_PYTHON_UNINSTALL=1" -e "PIP_INDEX_URL=https://pypi.python.org/simple" -e TERM \
99-
-v `pwd`:/edx/app/edxapp/edx-platform:cached \
100-
-v edxapp_lms_assets:/edx/var/edxapp/staticfiles/ \
101-
-v edxapp_node_modules:/edx/app/edxapp/edx-platform/node_modules \
102-
edxops/edxapp:latest /edx/app/edxapp/devstack.sh open
103-
10493
# Order is very important in this list: files must appear after everything they include!
10594
REQ_FILES = \
10695
requirements/edx/coverage \
@@ -164,27 +153,6 @@ upgrade-package: ## update just one package to the latest usable release
164153
check-types: ## run static type-checking tests
165154
mypy
166155

167-
docker_auth:
168-
echo "$$DOCKERHUB_PASSWORD" | docker login -u "$$DOCKERHUB_USERNAME" --password-stdin
169-
170-
docker_build: docker_auth
171-
DOCKER_BUILDKIT=1 docker build . --build-arg SERVICE_VARIANT=lms --build-arg SERVICE_PORT=8000 --target development -t openedx/lms-dev
172-
DOCKER_BUILDKIT=1 docker build . --build-arg SERVICE_VARIANT=lms --build-arg SERVICE_PORT=8000 --target production -t openedx/lms
173-
DOCKER_BUILDKIT=1 docker build . --build-arg SERVICE_VARIANT=cms --build-arg SERVICE_PORT=8010 --target development -t openedx/cms-dev
174-
DOCKER_BUILDKIT=1 docker build . --build-arg SERVICE_VARIANT=cms --build-arg SERVICE_PORT=8010 --target production -t openedx/cms
175-
176-
docker_tag_build_push_lms: docker_auth
177-
docker buildx build -t openedx/lms:latest -t openedx/lms:${GITHUB_SHA} --platform linux/amd64,linux/arm64 --build-arg SERVICE_VARIANT=lms --build-arg SERVICE_PORT=8000 --target production --push .
178-
179-
docker_tag_build_push_lms_dev: docker_auth
180-
docker buildx build -t openedx/lms-dev:latest -t openedx/lms-dev:${GITHUB_SHA} --platform linux/amd64,linux/arm64 --build-arg SERVICE_VARIANT=lms --build-arg SERVICE_PORT=8000 --target development --push .
181-
182-
docker_tag_build_push_cms: docker_auth
183-
docker buildx build -t openedx/cms:latest -t openedx/cms:${GITHUB_SHA} --platform linux/amd64,linux/arm64 --build-arg SERVICE_VARIANT=cms --build-arg SERVICE_PORT=8010 --target production --push .
184-
185-
docker_tag_build_push_cms_dev: docker_auth
186-
docker buildx build -t openedx/cms-dev:latest -t openedx/cms-dev:${GITHUB_SHA} --platform linux/amd64,linux/arm64 --build-arg SERVICE_VARIANT=cms --build-arg SERVICE_PORT=8010 --target development --push .
187-
188156
lint-imports:
189157
lint-imports
190158

0 commit comments

Comments
 (0)