mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-12-15 17:59:45 +00:00
a6ab3cd2db
- drop buster - drop sid - add bookworm
36 lines
1.1 KiB
Docker
36 lines
1.1 KiB
Docker
FROM debian:bookworm
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN apt-get update \
|
|
&& apt-get dist-upgrade -y \
|
|
&& apt-get install -y locales sudo
|
|
|
|
RUN echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen \
|
|
&& locale-gen en_US.UTF-8 \
|
|
&& update-locale LANG=en_US.UTF-8 LANGUAGE=en_US:en
|
|
ENV LANG=en_US.UTF-8 \
|
|
LANGUAGE=en_US:en \
|
|
LC_ALL=en_US.UTF-8
|
|
|
|
RUN useradd docker -U -G sudo -m -s /bin/bash \
|
|
&& echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
|
|
|
RUN echo "deb http://deb.debian.org/debian bookworm-backports main" > /etc/apt/sources.list.d/backports.list
|
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get install -y \
|
|
wget bash bc gcc sed patch patchutils tar bzip2 gzip xz-utils zstd perl gawk gperf zip \
|
|
unzip diffutils lzop make file g++ xfonts-utils xsltproc default-jre-headless python3 \
|
|
libc6-dev libncurses5-dev libjson-perl libxml-parser-perl libparse-yapp-perl rdfind \
|
|
golang-1.21-go/bookworm-backports git openssh-client \
|
|
--no-install-recommends \
|
|
&& ln -s /usr/lib/go-1.21 /usr/lib/go \
|
|
&& ln -s /usr/lib/go-1.21/bin/go /usr/bin/go \
|
|
&& ln -s /usr/lib/go-1.21/bin/gofmt /usr/bin/gofmt
|
|
|
|
RUN rm -rf /var/lib/apt/lists/*
|
|
|
|
USER docker
|