mirror of
https://github.com/AsteroidOS/asteroid.git
synced 2026-06-11 09:08:19 -04:00
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
11 lines
498 B
Docker
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
|