Skip to content

Commit

Permalink
Remove gevent system packages
Browse files Browse the repository at this point in the history
It's not clear we are using this, and they were installing a system-wide
packaging package that could not be uninstalled when installing CKAN
requirements:

error: uninstall-distutils-installed-package

Cannot uninstall packaging 21.3
╰─> It is a distutils installed project and thus we cannot accurately...
  • Loading branch information
amercader committed Aug 21, 2024
1 parent 5a44465 commit 228e759
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions ckan-2.10/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ RUN apk add --no-cache git \
uwsgi-http \
uwsgi-corerouter \
uwsgi-python \
py3-gevent \
uwsgi-gevent \
libmagic \
curl \
patch \
Expand Down
2 changes: 1 addition & 1 deletion ckan-2.10/base/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ help:
build: ## Build CKAN 2.x.x images , `make build`
echo "Building $(TAG_NAME) and $(ALT_TAG_NAME) and $(PYTHON_TAG_NAME) images"
docker build --build-arg="CKAN_VERSION=ckan-$(CKAN_VERSION)" -t $(TAG_NAME) -t $(ALT_TAG_NAME) .
docker build --build-arg="CKAN_VERSION=ckan-$(CKAN_VERSION)" -t $(PYTHON_TAG_NAME) -t $(PYTHON_ALT_TAG_NAME) -f $(PYTHON.DOCKERFILE) .
# docker build --build-arg="CKAN_VERSION=ckan-$(CKAN_VERSION)" -t $(PYTHON_TAG_NAME) -t $(PYTHON_ALT_TAG_NAME) -f $(PYTHON.DOCKERFILE) .

push: ## Push CKAN 2.x.x images to the DockerHub registry, `make push`
echo "Pushing $(TAG_NAME) image"
Expand Down

0 comments on commit 228e759

Please sign in to comment.