Browse Source

Build all recent emacs versions

Nicolas Petton 3 years ago
No known key found for this signature in database GPG Key ID: E8BCD7866AFCF978
1 changed files with 30 additions and 6 deletions
  1. +30

+ 30
- 6
Dockerfile View File

@ -1,17 +1,41 @@
FROM armv7/armhf-ubuntu:16.04
RUN apt-get update && \
apt-get install -y curl gnutls-bin python ruby git build-essential libncurses5-dev && \
apt-get build-dep emacs -y
RUN apt-get update --quiet
# Make sure dpkg does not ask questions (such as which keyboard layout to configure)
ENV DEBIAN_FRONTEND noninteractive
# Install misc dependencies:
# - curl, git, make: used by many scripts
# - python: used by Cask
# - ruby, xorg: used by EVM
RUN apt-get update && apt-get install --quiet --assume-yes curl git make python ruby xorg texinfo gnutls-bin libgnutls-dev
# Install evm
RUN curl -fsSkL | bash
ENV PATH /root/.evm/bin:$PATH
# Install Emacs 25.1
# Install all versions of Emacs available with EVM
RUN evm config path /tmp
RUN evm install emacs-25.1 --use --skip
RUN evm install emacs-23.4-travis
RUN evm install emacs-24.1-travis
RUN evm install emacs-24.2-travis
RUN evm install emacs-24.3-travis
RUN evm install emacs-24.4-travis
RUN evm install emacs-24.5-travis
RUN evm install emacs-25.1-travis
RUN evm install emacs-25.2-travis
RUN evm install emacs-25.3-travis
RUN evm install emacs-26.1-travis
RUN evm install emacs-git-snapshot-travis
RUN evm install remacs-git-snapshot-travis
# Activate latest Emacs release
RUN evm use emacs-26.1-travis
RUN emacs --version
# Install cask
RUN curl -fsSL | python
ENV PATH /root/.cask/bin:$PATH
ENV PATH /root/.cask/bin:$PATH