Code Monkey home page Code Monkey logo

docker-rt's Introduction

Docker images for RT

Super-Linter Build and Push Docker Image

Supported tags and respective Dockerfile links

Where is this image available?

Docker Hub

Docker Stars Docker Pulls Docker Image Size

https://hub.docker.com/r/netsandbox/request-tracker

GitHub Container Registry

https://github.com/users/netsandbox/packages/container/package/request-tracker

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 Hub images
docker run -d --name rt -p 80:80 netsandbox/request-tracker:5.0

# GitHub Container Registry images
docker run -d --name rt -p 80:80 ghcr.io/netsandbox/request-tracker:5.0

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 Hub images
docker run -d --name rt -p 8080:8080 -e RT_WEB_PORT=8080 netsandbox/request-tracker:5.0

# GitHub Container Registry images
docker run -d --name rt -p 8080:8080 -e RT_WEB_PORT=8080 ghcr.io/netsandbox/request-tracker:5.0

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: ghcr.io/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"

docker-rt's People

Contributors

netsandbox avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.