Browse Source

updating readme

pull/1/head
Benedikt Kristinsson 8 months ago
parent
commit
4d5bd51264
  1. 19
      README.md
  2. 2
      debian/package.sh

19
README.md

@ -4,9 +4,24 @@
![Docker Image Version (latest by date)](https://img.shields.io/docker/v/benediktkr/emacs?style=flat-square)
![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/benediktkr/emacs?sort=date&style=flat-square)
Builds the latest stable emacs in a docker image, packages it as `.deb` and `.tar.gz` and then publishe a [docker image to Docker Hub](https://hub.docker.com/r/benediktkr/emacs-docker/) with emacs installed.
Builds the latest stable emacs in a docker image, packages it as `.deb` and `.tar.gz` and then publishe a [docker image to Docker Hub](https://hub.docker.com/r/benediktkr/emacs-docker/) with emacs installed:
```
docker run --rm -it benediktkr/emacs:27.1
```
The `.deb` package is uploaded to [apt.sudo.is](https://apt.sudo.is).
```
wget -q -O - https://apt.sudo.is/KEY.gpg | sudo apt-key add -
echo "deb https://apt.sudo.is/ /" > /etc/apt/sources.list.d/apt.sudo.is.list
apt-get update
apt-get install emacs
```
Currently the `.deb` package has no dependencies and there isn't an apt archive hosting it either.
Dockerfiles for other docker images:

2
debian/package.sh

@ -67,7 +67,7 @@ mkdir -p $BUILDS
DEPENDS="-d nettle-dev"
#DEPENDS=""
fpm -t deb -v ${VERSION}-sudois${BUILD_NUMER} -n emacs $DEPENDS -s dir $PREFIX/=/usr/local
fpm -t deb -v ${VERSION} -n emacs $DEPENDS -s dir $PREFIX/=/usr/local
cp *.deb $BUILDS
)

Loading…
Cancel
Save