That project produces container (e.g., Docker) images, hosted on dedicated public Docker Cloud site. Those container images are intended to bring Linux-based ready-to-use environment for OpenTREP contributors.
- OpenTREP container images (this repository)
- OpenTREP repository
- OpenTravelData (OPTD) repository
- Pre-built images on Docker Cloud
- Pre-built images on Quay.io
- Download the container image:
$ docker pull infrahelpers/search-travel:latest
- Parse a transport/travel request with the container:
$ docker run -t infrahelpers/search-travel:latest "opentrep-search -q nce sfo"
- Get the latest OpenREP release:
$ trep_ver=$(curl -s https://api.github.com/repos/trep/opentrep/releases/latest | jq -r ".tarball_url" | sed -e 's/.*v\([0-9.]\{3\}\)/\1/g')
$ curl -L https://github.com/trep/opentrep/archive/v${trep_ver}.tar.gz -o opentrep-${trep_ver}.tar.gz
- Build the container image:
$ docker build -t infrahelpers/search-travel:latest centos8
- Login to the remote Docker repository, for instance:
- with Docker Hub:
$ docker login docker.io
Authenticating with existing credentials...
Login Succeeded
- with Quay.io:
$ docker login quay.io
Authenticating with existing credentials...
Login Succeeded
- Submit the container image:
- To Docker Cloud/Hub:
$ docker push infrahelpers/search-travel:latest
- To Quay.io:
$ docker tag infrahelpers/search-travel:latest quay.io/trep/opentrep:latest
$ docker push quay.io/trep/opentrep:latest
- Further contributions are always welcome: