Update docker base image (Ubuntu 20.04 -> 21.04)

Doom now required Git > that in Ubuntu 20.04 (2.28 > 2.25), and rather
that mess around with building Git ourself etc., I think it's easier to
just upgrade Ubuntu.
This commit is contained in:
TEC 2021-05-28 14:09:53 +08:00
parent f4219dd4f6
commit 51b110f329
Signed by: tec
GPG Key ID: 779591AFDB81F06C
1 changed files with 7 additions and 7 deletions

View File

@ -1,13 +1,13 @@
FROM ubuntu:20.04
FROM ubuntu:21.04
MAINTAINER TEC <tec@tecosaur.com>
ENV LANG=C.UTF-8
ENV DEBIAN_FRONTEND=noninteractive
RUN echo "\033[1;34mAdd Emacs PPA.\033[0m" &&\
apt-get update &&\
apt-get install -y apt-utils software-properties-common sudo &&\
add-apt-repository -y ppa:kelleyk/emacs
# RUN echo "\033[1;34mAdd Emacs PPA.\033[0m" &&\
# apt-get update &&\
# apt-get install -y apt-utils software-properties-common &&\
# add-apt-repository -y ppa:kelleyk/emacs
RUN echo "\033[1;34mUpdate.\033[0m" &&\
apt-get update &&\
@ -29,10 +29,10 @@ RUN echo "\033[1;34mUpdate.\033[0m" &&\
mkdir -p /usr/share/doc &&\
mkdir -p /usr/share/info &&\
echo "\033[1;34mInstalling utilities.\033[0m" &&\
apt-get install -y git gcc sqlite sqlite3 wget ncurses-term ripgrep xclip &&\
apt-get install -y sudo git gcc sqlite sqlite3 wget ncurses-term ripgrep xclip &&\
echo "\033[1;34mInstalling Emacs\033[0m" &&\
# Emacs 27.1 (nox)
apt-get install -y emacs27-nox &&\
apt-get install -y emacs-nox &&\
echo "\033[1;34mInstalling TeX Live packages.\033[0m" &&\
# install TeX Live and ghostscript as well as other tools (inkscape for svg)
git clone https://github.com/tecosaur/BMC.git /usr/share/texmf/tex/latex/bmc &&\