Browse Source

Build all recent emacs versions

arm
Nicolas Petton 10 months ago
parent
commit
e9bde076d2
No known key found for this signature in database GPG Key ID: E8BCD7866AFCF978
1 changed files with 30 additions and 6 deletions
  1. +30
    -6
      Dockerfile

+ 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 https://raw.github.com/rejeep/evm/master/go | 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 https://raw.githubusercontent.com/cask/cask/master/go | python
ENV PATH /root/.cask/bin:$PATH
ENV PATH /root/.cask/bin:$PATH


Loading…
Cancel
Save