Skip to content

Instantly share code, notes, and snippets.

@zeldin
Created April 2, 2023 06:41
Show Gist options
  • Save zeldin/166c88b95af28fe8b2583ee76cb2e470 to your computer and use it in GitHub Desktop.
Save zeldin/166c88b95af28fe8b2583ee76cb2e470 to your computer and use it in GitHub Desktop.
Recipe for reproducing breezy bug on Ubuntu
FROM ubuntu:jammy
ENV DEBIAN_FRONTEND=noninteractive
RUN sed -i -e '/deb-src/s/^#//' /etc/apt/sources.list && apt-get update
RUN apt-get install -y --no-install-recommends dpkg-dev
WORKDIR /tmp
RUN apt-get source breezy
RUN apt-get build-dep -y --no-install-recommends breezy
# for faster build
ENV DEB_BUILD_OPTIONS="nocheck nodocs"
RUN cd breezy-*/ && DEB_CFLAGS_MAINT_APPEND=-UNDEBUG dpkg-buildpackage -b
RUN dpkg -i python3-breezy_*.deb brz_*.deb
RUN brz branch http://mc.pp.se/bzr/amiwm
RUN cd amiwm && brz status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment