Skip to content

Commit

Permalink
Try and make check-markdownfmt happy
Browse files Browse the repository at this point in the history
  • Loading branch information
nealef authored and tianon committed Jan 22, 2018
1 parent 938643b commit 922e607
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions clefos/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 922e607

Please sign in to comment.