Skip to content

Commit

Permalink
chore: removed dockerfile & workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
BilalQamar95 committed Oct 30, 2024
1 parent f187138 commit 82db68e
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 156 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/docker-publish.yml

This file was deleted.

115 changes: 0 additions & 115 deletions Dockerfile

This file was deleted.

13 changes: 0 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,6 @@ detect_changed_source_translations: ## check if translation files are up-to-date

validate_translations: fake_translations detect_changed_source_translations ## install fake translations and check if translation files are up-to-date

docker_build:
docker build . -f Dockerfile -t openedx/enterprise-subsidy --no-cache

# devstack-themed shortcuts
dev.up: dev.up.redis
docker-compose up -d
Expand Down Expand Up @@ -242,19 +239,9 @@ app-restart-devserver: # restart just the app Django dev server
%-attach:
docker attach enterprise-subsidy.$*

github_docker_build:
docker build . -f Dockerfile --target app -t openedx/enterprise-subsidy

github_docker_tag: github_docker_build
docker tag openedx/enterprise-subsidy openedx/enterprise-subsidy:${GITHUB_SHA}

github_docker_auth:
echo "$$DOCKERHUB_PASSWORD" | docker login -u "$$DOCKERHUB_USERNAME" --password-stdin

github_docker_push: github_docker_tag github_docker_auth ## push to docker hub
docker push 'openedx/enterprise-subsidy:latest'
docker push "openedx/enterprise-subsidy:${GITHUB_SHA}"

selfcheck: ## check that the Makefile is well-formed
@echo "The Makefile is well-formed."

Expand Down
7 changes: 1 addition & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,7 @@ services:
command: memcached -vv

app:
# Uncomment this line to use the official enterprise-subsidy base image
# image: openedx/enterprise-subsidy
image: openedx/enterprise-subsidy:latest-devstack
build:
context: .
dockerfile: Dockerfile
image: edxops/enterprise-subsidy-dev
container_name: enterprise-subsidy.app
volumes:
- .:/edx/app/enterprise-subsidy
Expand Down

0 comments on commit 82db68e

Please sign in to comment.