Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Commit

Permalink
Merge pull request #144 from netlify/ppa-emacs
Browse files Browse the repository at this point in the history
Use PPA for emacs install
  • Loading branch information
brycekahle committed Feb 21, 2018
2 parents 6c4b948 + b696976 commit 217249c
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
add-apt-repository -y ppa:openjdk-r/ppa && \
add-apt-repository -y ppa:git-core/ppa && \
add-apt-repository -y ppa:rwky/graphicsmagick && \
add-apt-repository -y ppa:kelleyk/emacs && \
apt-get -y update && \
apt-get install -y --no-install-recommends \
advancecomp \
Expand All @@ -38,6 +39,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
bzr \
cmake \
curl \
emacs25-nox \
fontconfig \
fontconfig-config \
g++ \
Expand Down Expand Up @@ -349,19 +351,9 @@ ENV PATH "/opt/buildhome/.php:$PATH"

################################################################################
#
# Emacs and Cask
# Cask
#
################################################################################
USER root
ENV EMACS_VERSION 25.3
RUN wget -nv http://ftpmirror.gnu.org/emacs/emacs-${EMACS_VERSION}.tar.gz && \
tar -xf emacs-${EMACS_VERSION}.tar.gz && \
cd emacs-${EMACS_VERSION} && \
env CANNOT_DUMP=yes ./configure --without-x && \
make install && \
make clean && \
cd .. && rm -rf emacs-${EMACS_VERSION} emacs-${EMACS_VERSION}.tar.gz

USER buildbot
RUN rm -rf /opt/buildhome/.cask && git clone https://github.com/cask/cask.git /opt/buildhome/.cask
ENV PATH "$PATH:/opt/buildhome/.cask/bin"
Expand Down

0 comments on commit 217249c

Please sign in to comment.