Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using main instead latest images #41

Merged
merged 2 commits into from
Sep 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ Select the CKAN Schema (`PYCSW_CKAN_SCHEMA`), and the pycsw output schema (`PYCS

To deploy the environment, `docker compose` will build the latest source in the repo.

If you can deploy a `5 minutes` image, use the latest ([`ghcr.io/mjanez/ckan-pycsw:latest`](https://github.com/mjanez/ckan-pycsw/pkgs/container/ckan-pycsw)) with [`docker-compose.ghcr.yml`](/docker-compose.ghcr.yml)
If you can deploy a `5 minutes` image, use the stable image ([`ghcr.io/mjanez/ckan-pycsw:main`](https://github.com/mjanez/ckan-pycsw/pkgs/container/ckan-pycsw)) with [`docker-compose.ghcr.yml`](/docker-compose.ghcr.yml)

```bash
git clone https://github.com/mjanez/ckan-pycsw
cd ckan-pycsw

docker compose up --build

# Github latest registry image
# Github main registry image
docker compose -f docker-compose.ghcr.yml --build

# Or detached mode
Expand Down Expand Up @@ -250,16 +250,18 @@ List of *containers*:
### Built images
| Repository | Type | Docker tag | Size | Notes |
| --- | --- | --- | --- | --- |
| mjanez/ckan-pycsw| custom image | `mjanez/ckan-pycsw:latest-dev` | 175 MB | Latest stable version to development. |
| mjanez/ckan-pycsw| custom image | `mjanez/ckan-pycsw:latest` | 175 MB | Latest stable version. |
| mjanez/ckan-pycsw| custom image | `mjanez/ckan-pycsw:latest` | 175 MB | Dev & Test latest version. |
| mjanez/ckan-pycsw| custom image | `mjanez/ckan-pycsw:main` | 175 MB | Stable version. |

>**Note**<br>
> Other images may be available, but they have not been updated to the latest version.
> GHCR and Dev `Dockerfiles` using `main` images as base.

### Network ports settings
| Ports | Container |
| --- | --- |
| 0.0.0.0:8000->8000/tcp | pycsw |
| 0.0.0.0:5678->5678/tcp | ckan-pycsw debug (debugpy) |


[^1]: Extends the @frafra [coat2pycsw](https://github.com/COATnor/coat2pycsw) package.
[^2]: A custom installation of Docker Compose with specific extensions for spatial data and [GeoDCAT-AP](https://github.com/SEMICeu/GeoDCAT-AP)/[INSPIRE](https://github.com/INSPIRE-MIF/technical-guidelines) metadata [profiles](https://en.wikipedia.org/wiki/Geospatial_metadata).
Expand Down
2 changes: 1 addition & 1 deletion ckan-pycsw/Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Base image
FROM ghcr.io/mjanez/ckan-pycsw:latest AS base
FROM ghcr.io/mjanez/ckan-pycsw:main AS base
LABEL maintainer="[email protected]"

# ckan-pycsw envvars
Expand Down
2 changes: 1 addition & 1 deletion ckan-pycsw/Dockerfile.ghcr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Base image
FROM ghcr.io/mjanez/ckan-pycsw:latest AS base
FROM ghcr.io/mjanez/ckan-pycsw:main AS base
LABEL maintainer="[email protected]"

# ckan-pycsw envvars
Expand Down