extpython/Dockerfile

15 lines
443 B
Docker
Raw Normal View History

2018-10-18 22:07:44 -07:00
FROM ubuntu:bionic
RUN sed -i -E 's/(archive|security).ubuntu.com/192.168.1.142/' /etc/apt/sources.list && \
2019-05-31 07:41:20 -07:00
sed -i -E 's/^deb-src/# deb-src/' /etc/apt/sources.list && \
apt-get update && \
apt-get install -y dpkg-dev debhelper build-essential sudo wget curl
2018-10-18 22:07:44 -07:00
2019-05-31 07:41:20 -07:00
RUN useradd builder && \
install -d /build -o builder -g builder
2018-10-18 22:07:44 -07:00
2019-05-31 07:41:20 -07:00
ADD scripts/bootstrap.sh /bootstrap.sh
ADD scripts/build.sh /build.sh
ENTRYPOINT ["/bootstrap.sh"]