An open API service indexing awesome lists of open source software.

https://github.com/lat-lon/deegree3-containers

Secure Container Images with deegree webservices webapp
https://github.com/lat-lon/deegree3-containers

deegree-webservices docker docker-image oci-image

Last synced: 5 months ago
JSON representation

Secure Container Images with deegree webservices webapp

Awesome Lists containing this project

README

          

[![Docker Image CI](https://github.com/deegree/deegree3-docker/actions/workflows/docker-image.yaml/badge.svg)](https://github.com/lat-lon/deegree3-containers/blob/main/.github/workflows/docker-image.yaml)

# Supported tags and respective `Dockerfile` links

- deegree 3.5.x (JDK 17/Tomcat 9): `3.5.17`, `3.5`, `latest` (deprecated tags: `3.5.16`, `3.5.15`, `3.5.13`, `3.5.12`, `3.5.11`, `3.5.10`,`3.5.8`, `3.5.6`) - [Dockerfile](https://github.com/lat-lon/deegree3-containers/blob/main/3.5/Dockerfile)

# Quick reference

## lat/lon container with deegree webservices
This repository contains Dockerfiles for [deegree web services](https://www.deegree.org/) to build container images with ready-to-use deegree webservices based on the official Apache Tomcat package.

- The containers are continuously updated when new versions are made available
- Security scan is enabled and automatically executed with every update
- Ready to use on production
- Ready to use with Kubernetes

Do you want to move your container to a Kubernetes infrastructure? We are providing Helm charts for deegree as well! Please get in contact with us.

Please consult the [deegree documentation](https://download.deegree.org/documentation/current/html/) for further information how to
configure and use deegree webservices.

## Docker images on GitHub Container Registry

[https://github.com/lat-lon/deegree3-containers/pkgs/container/deegree3-containers](https://github.com/lat-lon/deegree3-containers/pkgs/container/deegree3-containers)

## How to use a non-root container

Non-root container images add an extra layer of security and are generally recommended for production environments. Because they run as a non-root user, privileged tasks are typically off-limits. When mounting a deegree workspace directory into the container's filesystem keep in mind to grant required read and write permissions to the user (`$UID`, set to `1001`) on the host filesystem.

## How to use it

Use the following command to pull the latest image:

```
docker pull ghcr.io/lat-lon/deegree3-containers:latest
```

To start a docker container with the name `deegree` on port 8080 run the following command:

```
docker run -d --name deegree -p 8080:8080 ghcr.io/lat-lon/deegree3-containers:latest
```
Running the image with `-d` runs the container in detached mode, leaving the container running in the background.
The `--name` flag is setting the name for the container. The `-p` flag redirects a public port to a private port inside the container.