python builds
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

15 lines
442 B

  1. FROM ubuntu:disco
  2. RUN sed -i -E 's/(archive|security).ubuntu.com/192.168.1.142/' /etc/apt/sources.list && \
  3. sed -i -E 's/^deb-src/# deb-src/' /etc/apt/sources.list && \
  4. apt-get update && \
  5. apt-get install -y dpkg-dev debhelper build-essential sudo wget curl
  6. RUN useradd builder && \
  7. install -d /build -o builder -g builder
  8. ADD scripts/bootstrap.sh /bootstrap.sh
  9. ADD scripts/build.sh /build.sh
  10. ENTRYPOINT ["/bootstrap.sh"]