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.
 
 

19 lines
348 B

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