extpython/Dockerfile.disco

15 lines
473 B
Docker
Raw Normal View History

2019-05-31 14:26:56 -07:00
FROM ubuntu:disco
2018-10-18 22:07:44 -07:00
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 && \
2021-06-09 19:53:33 -07:00
DEBIAN_FRONTEND=noninteractive 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"]