mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
2cb965d352
Fixed some language ✨stuff✨. Added alternative to httpbin. Updated expected space requirement on Windows. Removed unused VS component on Windows. Moved Qt Creator formatting to Windows docs. Updated nativs link to Qt 6. Added missing language to code blocks. Removed # Description from PR template and added instructions to fix a GitHub issue. Co-authored-by: Wissididom <30803034+Wissididom@users.noreply.github.com> Co-authored-by: pajlada <rasmus.karlsson+github@pajlada.com>
2.2 KiB
2.2 KiB
Groups
Ubuntu 20.04 package
Dockerfile-ubuntu-20.04-package
relies on Dockerfile-ubuntu-20.04-build
To build, from the repo root
- 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 .
- 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 .
- 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
- 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 .
- 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 .
- 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
- Build a docker image builds the Chatterino tests
docker buildx build -t chatterino-ubuntu-22.04-test -f .docker/Dockerfile-ubuntu-22.04-test .
- Run the tests
docker run --rm --network=host chatterino-ubuntu-22.04-test