mirror-chatterino2/.docker
2024-11-17 12:39:22 +01:00
..
Dockerfile-ubuntu-20.04-base Fix input completion tests on Qt6 & run tests on 22.04 (#4774) 2023-08-27 11:11:59 +00:00
Dockerfile-ubuntu-20.04-build Fix input completion tests on Qt6 & run tests on 22.04 (#4774) 2023-08-27 11:11:59 +00:00
Dockerfile-ubuntu-20.04-package Fix AppImage not containing all SSL dependencies (#4400) 2023-02-21 09:47:18 +01:00
Dockerfile-ubuntu-22.04-base Fix input completion tests on Qt6 & run tests on 22.04 (#4774) 2023-08-27 11:11:59 +00:00
Dockerfile-ubuntu-22.04-build Fix input completion tests on Qt6 & run tests on 22.04 (#4774) 2023-08-27 11:11:59 +00:00
Dockerfile-ubuntu-22.04-package Fix AppImage not containing all SSL dependencies (#4400) 2023-02-21 09:47:18 +01:00
Dockerfile-ubuntu-22.04-qt6-build dev: Default building with Qt6 on all platforms (#5716) 2024-11-17 12:39:22 +01:00
Dockerfile-ubuntu-22.04-qt6-package Add macOS, Windows, & Ubuntu 22.04 Qt6 builds (#4522) 2023-04-15 13:25:51 +02:00
Dockerfile-ubuntu-22.04-test Fix input completion tests on Qt6 & run tests on 22.04 (#4774) 2023-08-27 11:11:59 +00:00
README.md docs: cleanup/polish Markdown files (#5038) 2023-12-23 11:39:53 +01:00

Groups

Ubuntu 20.04 package

Dockerfile-ubuntu-20.04-package relies on Dockerfile-ubuntu-20.04-build

To build, from the repo root

  1. Build a docker image that contains all the dependencies necessary to build Chatterino on Ubuntu 20.04
    docker buildx build -t chatterino-ubuntu-20.04-base -f .docker/Dockerfile-ubuntu-20.04-base .
  2. Build a docker image that contains all the build artifacts and source from building Chatterino on Ubuntu 20.04
    docker buildx build -t chatterino-ubuntu-20.04-build -f .docker/Dockerfile-ubuntu-20.04-build .
  3. Build a docker image that uses the above-built image & packages it into a .deb file
    docker buildx build -t chatterino-ubuntu-20.04-package -f .docker/Dockerfile-ubuntu-20.04-package .

To extract the final package, you can run the following command:
docker run -v $PWD:/opt/mount --rm -it chatterino-ubuntu-20.04-package bash -c "cp /src/build/Chatterino-x86_64.deb /opt/mount/"

Ubuntu 22.04 package

Dockerfile-ubuntu-22.04-package relies on Dockerfile-ubuntu-22.04-build

To build, from the repo root

  1. Build a docker image that contains all the dependencies necessary to build Chatterino on Ubuntu 22.04
    docker buildx build -t chatterino-ubuntu-22.04-base -f .docker/Dockerfile-ubuntu-22.04-base .
  2. Build a docker image that contains all the build artifacts and source from building Chatterino on Ubuntu 22.04
    docker buildx build -t chatterino-ubuntu-22.04-build -f .docker/Dockerfile-ubuntu-22.04-build .
  3. Build a docker image that uses the above-built image & packages it into a .deb file
    docker buildx build -t chatterino-ubuntu-22.04-package -f .docker/Dockerfile-ubuntu-22.04-package .

To extract the final package, you can run the following command:
docker run -v $PWD:/opt/mount --rm -it chatterino-ubuntu-22.04-package bash -c "cp /src/build/Chatterino-x86_64.deb /opt/mount/"

NOTE: The AppImage from Ubuntu 22.04 is broken. Approach with caution

Testing

  1. Build a docker image builds the Chatterino tests
    docker buildx build -t chatterino-ubuntu-22.04-test -f .docker/Dockerfile-ubuntu-22.04-test .
  2. Run the tests
    docker run --rm --network=host chatterino-ubuntu-22.04-test