Skip to content

Docker container with RT installation

Notifications You must be signed in to change notification settings

CARLI/docker-rt

 
 

Repository files navigation

Docker images for RT

Super-Linter Docker Stars Docker Pulls Image Size and Layers

Supported tags and respective Dockerfile links

What is Request Tracker?

Request Tracker (RT) is an open source issue tracking system.

https://bestpractical.com/request-tracker

How to use these Docker images

These images are intended for development or testing, not for production use!

docker run -d --name rt -p 80:80 netsandbox/request-tracker

Then, access it via http://localhost or http://host-ip in a browser.

If you want to run RT on a different port than the default one (80), change the -p option and set the RT_WEB_PORT environment variable like this:

docker run -d --name rt -p 8080:80 -e RT_WEB_PORT=8080 netsandbox/request-tracker

Then, access it via http://localhost:8080 or http://host-ip:8080 in a browser.

RT Extension Testing

You can use these Docker images to test your RT Extensions.

GitHub Actions

For GitHub Actions add a .github/workflows/rt-extension-test.yml file to your project with this content:

name: RT extension test

on:
  pull_request:
  push:

jobs:
  test:
    name: Test RT

    runs-on: ubuntu-latest

    strategy:
      fail-fast: false
      matrix:
        rt:
          - '4.2'
          - '4.4'
          - '5.0'

    container: netsandbox/request-tracker:${{ matrix.rt }}

    steps:
      - name: Checkout code
        uses: actions/checkout@v2

      - name: RT extension test
        run: |
          RELEASE_TESTING=1 perl Makefile.PL
          make
          make test

Travis

For Travis CI add a .travis.yml file to your project with this content:

language: bash
services: docker

env:
  - RT_VERSION=4.2
  - RT_VERSION=4.4
  - RT_VERSION=5.0

before_install:
  - env | sort
  - image="netsandbox/request-tracker:$RT_VERSION"

install:
    - docker pull $image
    - docker run -d -v $TRAVIS_BUILD_DIR:/rtx --name rt $image
    - docker ps

script:
    - docker exec rt bash -c "cd /rtx && RELEASE_TESTING=1 perl Makefile.PL && make && make test"

About

Docker container with RT installation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 61.8%
  • Shell 32.2%
  • Perl 6.0%