Skip to content

Instantly share code, notes, and snippets.

View theFestest's full-sized avatar

Michael theFestest

  • Washington DC, USA
View GitHub Profile
@theFestest
theFestest / list_dsc.py
Created February 7, 2022 23:48 — forked from moyix/list_dsc.py
Script that uses python-apt to get some info about source packages
#!/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):
@theFestest
theFestest / Dockerfile
Created February 7, 2022 04:37 — forked from moyix/Dockerfile
Misc infrastructure scripts for my Debian build attempts
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