extpython/Dockerfile.bionic

15 lines
470 B
Docker
Raw Normal View History

2018-10-18 22:07:44 -07:00
FROM ubuntu:bionic
2023-08-23 17:31:34 -07:00
RUN sed -i -E 's/(archive|security).ubuntu.com/aptmirror/' /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"]