You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

18 lines
372 B

#!/bin/bash
set -x
set -e
VERSION="27.1"
PREFIX=/home/bkristinsson/.local
DIST="$(pwd)/dist"
(
cd amzn/
wget -q https://ftp.gnu.org/pub/gnu/emacs/emacs-${VERSION}.tar.xz
docker build --build-arg PREFIX=$PREFIX --build-arg VERSION=$VERSION -t build-emacs-amzn .
docker run --rm -v $DIST:/emacs/dist build-emacs-amzn $1
)
# docker rmi build-emacs-amzn