-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathubuntu-bionic.dockerfile
More file actions
20 lines (17 loc) · 816 Bytes
/
ubuntu-bionic.dockerfile
File metadata and controls
20 lines (17 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM ubuntu:bionic
ENV DEBIAN_FRONTEND noninteractive
# apt-utils seems missing and warnings are shown, so we install it.
RUN apt-get update -q -q && \
apt-get install --yes --force-yes apt-utils tzdata locales file sudo gnupg && \
locale-gen --no-purge en_US.UTF-8 && \
update-locale LANG=en_US.UTF-8 && \
echo locales locales/locales_to_be_generated multiselect en_US.UTF-8 UTF-8 | debconf-set-selections && \
echo locales locales/default_environment_locale select en_US.UTF-8 | debconf-set-selections && \
dpkg-reconfigure locales && \
echo 'UTC' > /etc/timezone && \
rm /etc/localtime && \
dpkg-reconfigure tzdata && \
apt-get upgrade --yes --force-yes && \
rm -f /etc/cron.*/* && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ~/.cache ~/.npm
ENV LC_ALL en_US.UTF-8