Skip to content

trep/docker-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Creating and Running OpenTREP Containers

Docker Cloud build status Container repository on Quay

Introduction

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.

References

Usage

  • 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"

Contribute a custom container image

$ 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:
$ docker login docker.io
Authenticating with existing credentials...
Login Succeeded
$ 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

About

Docker images for OpenTREP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published