libreelec-builder/Dockerfile
2016-10-26 12:38:34 +01:00

50 lines
618 B
Docker
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

FROM ubuntu:16.04
# environment settings
ARG DEBIAN_FRONTEND="noninteractive"
ENV TERM="xterm"
# package list as variable
ARG PACKAGE_LIST="\
bash \
bc \
bzip2 \
default-jre \
diffutils \
g++ \
gawk \
gcc \
git \
golang-go \
gperf \
gzip \
libc6-dev \
libncurses5-dev \
lzop \
make \
patch \
perl \
sed \
tar \
texinfo \
u-boot-tools \
unzip \
wget \
xfonts-utils \
xsltproc \
xz-utils \
zip"
# install packages
RUN \
apt-get update && \
apt-get install -y \
$PACKAGE_LIST && \
# symlink for go
ln -s /usr/lib/go /usr/lib/golang && \
# clean up
rm -rf \
/var/lib/apt/lists/*