<commit_before># Running OGC TEAM Engine with ETS for WFS 2.0 on Docker

This module provides a Dockerfile for building a Docker image with OGC TEAM Engine, version 4.6 and ets-wfs20, version 1.22
pre-installed.

## Prerequisites

### Install Docker

Check the official [Docker documentation](https://docs.docker.com/engine/) for information how to
  install Docker on your operating system. And then install Docker and supporting tools.

### Dependencies 

You may build the following projects first:

#### Build ets-resources:
    
    % git clone https://github.com/opengeospatial/ets-resources.git
    % cd ets-resources
    % git checkout tags/16.0.23
    % mvn clean install
    
#### Build the ETS for WFS 2.0:
    
    % git clone https://github.com/opengeospatial/ets-wfs20.git
    % cd ets-wfs20
    % git checkout tags/1.22
    % mvn clean install

#### Build the TEAM Engine:
    
    % git clone https://github.com/opengeospatial/teamengine.git
    % cd teamengine
    % git checkout tags/4.6
    % mvn clean install -Dets-resources-version=16.0.23 -Pogc.cite

## Build the Docker image
The Dockerfile is located in the ```teamengine/teamengine-docker/src/main/config/docker/Dockerfile``` directory. 
To build the Docker image run in directory ```teamengine/teamengine-docker``` the Maven goals:

    % mvn clean package docker:build

This will build a new docker image from scratch. It may take a while the first time since Docker will download some
base images from [docker hub](https://hub.docker.com).

## Running TEAM Engine inside a Docker container <commit_msg>Fixed version for ets-resources to 16.02.23<commit_after># Running OGC TEAM Engine with ETS for WFS 2.0 on Docker

This module provides a Dockerfile for building a Docker image with OGC TEAM Engine, version 4.6 and ets-wfs20, version 1.22
pre-installed.

## Prerequisites

### Install Docker

Check the official [Docker documentation](https://docs.docker.com/engine/) for information how to
  install Docker on your operating system. And then install Docker and supporting tools.

### Dependencies 

You may build the following projects first:

#### Build ets-resources:
    
    % git clone https://github.com/opengeospatial/ets-resources.git
    % cd ets-resources
    % git checkout tags/16.02.23
    % mvn clean install
    
#### Build the ETS for WFS 2.0:
    
    % git clone https://github.com/opengeospatial/ets-wfs20.git
    % cd ets-wfs20
    % git checkout tags/1.22
    % mvn clean install

#### Build the TEAM Engine:
    
    % git clone https://github.com/opengeospatial/teamengine.git
    % cd teamengine
    % git checkout tags/4.6
    % mvn clean install -Dets-resources-version=16.02.23 -Pogc.cite

## Build the Docker image
The Dockerfile is located in the ```teamengine/teamengine-docker/src/main/config/docker/Dockerfile``` directory. 
To build the Docker image run in directory ```teamengine/teamengine-docker``` the Maven goals:

    % mvn clean package docker:build

This will build a new docker image from scratch. It may take a while the first time since Docker will download some
base images from [docker hub](https://hub.docker.com).

## Running TEAM Engine inside a Docker container 
{'fraction_non_alphanumeric': 0.09048215403882279, 'fraction_numerical': 0.021289918597370068, 'mean_word_length': 3.4810659186535764, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3192460', 'n_tokens_mistral': 1032, 'n_tokens_neox': 931, 'n_words': 355}