mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
Merge pull request #5309 from heitbaum/td
tools/docker: add sid, groovy, hirsute containers
This commit is contained in:
commit
bb1ac7462b
@ -1,5 +1,16 @@
|
|||||||
# Build container
|
# Build container
|
||||||
|
|
||||||
|
**Docker containers**
|
||||||
|
- Ubuntu
|
||||||
|
- bionic (Ubuntu 18.04)
|
||||||
|
- focal (Ubuntu 20.04)
|
||||||
|
- groovy (Ubuntu 20.10)
|
||||||
|
- hirsute (Ubuntu 21.04)
|
||||||
|
- Debian
|
||||||
|
- stretch (Debian 9.0)
|
||||||
|
- buster (Debian 10.0)
|
||||||
|
- sid (Debian unstable)
|
||||||
|
|
||||||
**Build docker image**
|
**Build docker image**
|
||||||
|
|
||||||
Use the following command to create a docker image and tag it with `libreelec`.
|
Use the following command to create a docker image and tag it with `libreelec`.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM ubuntu:xenial
|
FROM ubuntu:groovy
|
||||||
|
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
30
tools/docker/hirsute/Dockerfile
Normal file
30
tools/docker/hirsute/Dockerfile
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
FROM ubuntu:hirsute
|
||||||
|
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
RUN apt-get update \
|
||||||
|
&& apt-get dist-upgrade -y \
|
||||||
|
&& apt-get install -y locales sudo \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
RUN 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 adduser --disabled-password --gecos '' docker \
|
||||||
|
&& adduser docker sudo \
|
||||||
|
&& echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y \
|
||||||
|
wget bash bc gcc sed patch patchutils tar bzip2 gzip xz-utils 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 \
|
||||||
|
golang-go \
|
||||||
|
git openssh-client \
|
||||||
|
--no-install-recommends \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
USER docker
|
31
tools/docker/sid/Dockerfile
Normal file
31
tools/docker/sid/Dockerfile
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
FROM debian:sid
|
||||||
|
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
RUN apt-get update \
|
||||||
|
&& apt-get dist-upgrade -y \
|
||||||
|
&& apt-get install -y locales sudo \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
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 adduser --disabled-password --gecos '' docker \
|
||||||
|
&& adduser docker sudo \
|
||||||
|
&& echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y \
|
||||||
|
wget bash bc gcc sed patch patchutils tar bzip2 gzip xz-utils 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 \
|
||||||
|
golang-go \
|
||||||
|
git openssh-client \
|
||||||
|
--no-install-recommends \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
USER docker
|
Loading…
x
Reference in New Issue
Block a user