Skip to content

Instantly share code, notes, and snippets.

@msjyoo
Created April 28, 2017 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save msjyoo/7abf7809fba7f0b859d4e464510a5c37 to your computer and use it in GitHub Desktop.
Save msjyoo/7abf7809fba7f0b859d4e464510a5c37 to your computer and use it in GitHub Desktop.
FROM debian:jessie
ADD sources.list /etc/apt/sources.list
RUN cat /etc/apt/sources.list | sed -e 's/^deb/deb-src/g' >> /etc/apt/sources.list
WORKDIR /tmp/firefox-gtk2-build/
RUN apt-get update && apt-get build-dep -y -t unstable firefox=50.1.0-1
RUN apt-get source firefox=50.1.0-1
WORKDIR firefox-50.1.0
RUN sed -i -e 's/GTK3/GTK2/g' debian/rules
ENV SHELL /bin/bash
RUN env DEB_BUILD_OPTIONS="parallel=16" dpkg-buildpackage -b -us -uc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment