Files
asteroid/Dockerfile
Adrian Freund 779f4bc730 Change Dockerfile base image to bionic
Ubuntu Disco is no longer supported and it's software repositories are
no longer available. Bionic will still be supported until April 2023.
Also changed python2 to python, as Ubuntu Bionic doesn't have a package
names python2
2020-05-27 00:17:42 +02:00

11 lines
498 B
Docker

FROM ubuntu:bionic
# Install packages required to build AsteroidOS
RUN apt update && apt upgrade -y && apt install -y git build-essential cpio diffstat gawk chrpath texinfo python python3 wget shared-mime-info
# Add the en_US.utf8 locale because it is required and not installed by default in minimal Ubuntu images
RUN apt-get install -y locales && rm -rf /var/lib/apt/lists/* && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
ENV LANG en_US.utf8
WORKDIR /asteroid