This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import re | |
import sys, os | |
sys.path.append('/usr/lib/python3/dist-packages') | |
import apt | |
import apt_pkg | |
import argparse | |
def urljoin(*args): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:unstable | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN sed -i 's/main/main contrib non-free/' /etc/apt/sources.list | |
RUN echo "deb-src http://deb.debian.org/debian unstable main contrib non-free" >> /etc/apt/sources.list | |
RUN apt-get -y update | |
RUN apt-get -y install build-essential bear | |
RUN useradd -ms /bin/bash builder | |
RUN apt-get -y install sudo | |
RUN adduser builder sudo |