mirror-chatterino2/.docker
Wissididom 98c2ff5607
Separate Ubuntu .deb packages per Ubuntu release (#4357)
Our .deb packages are now very Ubuntu-specific and are packages based on our CI builds.
2023-02-11 22:50:01 +00:00
..
Dockerfile-ubuntu-20.04-build Separate Ubuntu .deb packages per Ubuntu release (#4357) 2023-02-11 22:50:01 +00:00
Dockerfile-ubuntu-20.04-package Separate Ubuntu .deb packages per Ubuntu release (#4357) 2023-02-11 22:50:01 +00:00
Dockerfile-ubuntu-22.04-build Separate Ubuntu .deb packages per Ubuntu release (#4357) 2023-02-11 22:50:01 +00:00
Dockerfile-ubuntu-22.04-package Separate Ubuntu .deb packages per Ubuntu release (#4357) 2023-02-11 22:50:01 +00:00
README.md Separate Ubuntu .deb packages per Ubuntu release (#4357) 2023-02-11 22:50:01 +00: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 build artifacts and source from building Chatterino on Ubuntu 20.04
    docker build -t chatterino-ubuntu-20.04-build -f .docker/Dockerfile-ubuntu-20.04-build .
  2. Build a docker image that uses the above-built image & packages it into a .deb file
    docker 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 build artifacts and source from building Chatterino on Ubuntu 22.04
    docker build -t chatterino-ubuntu-22.04-build -f .docker/Dockerfile-ubuntu-22.04-build .
  2. Build a docker image that uses the above-built image & packages it into a .deb file
    docker 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/"