Try and make check-markdownfmt happy

This commit is contained in:
Neale Ferguson 2017-10-05 13:14:57 -04:00 committed by Tianon Gravi
parent 938643b41a
commit 922e607429
1 changed files with 1 additions and 27 deletions

View File

@ -10,33 +10,7 @@ The `clefos:latest` tag is always the most recent version currently available.
### Building the Base Image
The image is built via the make command against the following Makefile:
```
VERSION=$(shell cat VERSION)
all: base
base: clefos-7-docker.tar.xz Dockerfile
docker build --rm --tag clefos/clefos --label VERSION=$(VERSION) .
clefos-7-docker.tar.xz: createBase.sh
./createBase.sh
push:
docker tag clefos/clefos:latest clefos/clefos:clefos7
docker tag clefos/clefos:latest clefos/clefos:$(VERSION)
docker tag clefos/clefos:latest clefos:clefos7
docker push clefos/clefos:latest
docker push clefos/clefos:clefos7
docker push clefos/clefos:$(VERSION)
clean:
rm -f clefos-7-docker.tar.xz
docker rmi clefos/clefos:latest || true
docker rmi clefos/clefos:clefos7 || true
docker rmi clefos/clefos:$(VERSION) || true
```
The image is built via the `make` command which will create the tarball, build the image, and push the image to the repository.
The `createBase.sh` script is used to create the tarball for the docker build command. The script uses the yum command with the `tsflags=nodocs` option set to reduce the size of the image. In addition a lot of the locale files are eliminated from the image.