Skip to content

Commit

Permalink
Merge branch 'update-dockerfile-and-deps' into escape-url-descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
btylerburton committed Jun 17, 2024
2 parents 9f8a5fb + 2bd5c5c commit e58e436
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
ARG CKAN_VERSION=2.10.1
FROM openknowledge/ckan-dev:${CKAN_VERSION}
FROM ckan/ckan-dev:${CKAN_VERSION}
ARG CKAN_VERSION

# add sudo
RUN set -ex && apk --no-cache add sudo

# Add timezone data
RUN sudo apk add tzdata proj-util proj-dev geos-dev

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CKAN_VERSION ?= 2.10
CKAN_VERSION ?= 2.10.1
COMPOSE_FILE ?= docker-compose.yml

build: ## Build the docker containers
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ In order to support multiple versions of CKAN, or even upgrade to new versions
of CKAN, we support development and testing through the `CKAN_VERSION`
environment variable.

$ make CKAN_VERSION=2.10 test
$ make CKAN_VERSION=2.10.1 test


Variable | Description | Default
-------- | ----------- | -------
CKAN_VERSION | Version of CKAN to use. | 2.10
CKAN_VERSION | Version of CKAN to use. | 2.10.1
COMPOSE_FILE | docker-compose service description file. | docker-compose.yml
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
version: "3.7"
services:
ckan:
image: datagov/ckanext-datagovtheme:${CKAN_VERSION} # ensures docker-compose will rebuild the right image in case we change CKAN_VERSION
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ argparse
pyparsing>=2.1.10
requests>=1.1.0
pyproj
Shapely==2.0.1
Shapely==1.8.5
OWSLib==0.28.1

0 comments on commit e58e436

Please sign in to comment.