tools/docker: add eoan support

This commit is contained in:
MilhouseVH 2019-11-10 02:43:07 +00:00
parent b11aa6a6e8
commit ab30d350cb

View File

@ -0,0 +1,31 @@
FROM ubuntu:eoan
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 perl gawk gperf zip unzip diffutils lzop python3 \
g++ xfonts-utils xsltproc default-jre-headless \
libc6-dev libncurses5-dev \
xz-utils make file libxml-parser-perl \
libjson-perl \
golang-go \
git openssh-client \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
USER docker