Sign inSign up

matimoreyra/qt5

By matimoreyra

Updated over 6 years ago

Image
1

1.2K

matimoreyra/qt5 repository overview

Qt5 Docker

Docker image for Qt5 development with CMake and GTest.

Deployments

This project is automatically deployed to matimoreyra/qt5 Docker Hub repository.

Tags

The tag indicates which version of Ubuntu is used as base image.

Available tags:
  • latest
  • bionic
  • xenial

Usage

Option 1 - Pulling from Docker Hub
  1. Pull the image from Docker Hub:
docker pull matimoreyra/qt5[:tag]
  1. Run in a container:
docker run -dit [--name <container_name>] matimoreyra/qt5[:tag]
Option 2 - Building from Dockerfile:
  1. Clone this repo:
git clone [email protected]:MatiMoreyra/qt5-docker.git

Or just download it from here.

  1. Build the image:

From the folder containing the Dockerfile, run:

docker build -t matimoreyra/qt5[:tag] .
  1. Run in a container:
docker run -dit [--name <container_name>] matimoreyra/qt5[:tag]

CI/CD

Continuous integration

Every pull request is automatically built and tested on Docker Hub (see docker-compose.test.yml).

Continuous delivery

Every commit to master triggers an automatic build pipeline on Docker Hub which consists on the following steps:

  • Pull the last built image for each tag, these are used as cache to speed up builds (see hooks/pre_build).
  • Build an image for each tag using the Dockerfile (see hooks/build).
  • Test each image by building test/executable with CMake and running GTest for it. This is achieved by running test/executable/build.sh inside a docker container for each image (see hooks/test).
  • Push the images to Docker Hub (see hooks/push)

Tag summary

Content type

Image

Digest

Size

237.7 MB

Last updated

over 6 years ago

docker pull matimoreyra/qt5