Skip to content

Commit 28b2e63

Browse files
authored
Fixes #50: Added discord badge with link to chat adn arm info (#51)
1 parent 5e6e8b5 commit 28b2e63

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

Dockerfile-arm64v8

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
FROM arm64v8/alpine
2+
3+
ENV MKDOCS_VERSION=1.1.2 \
4+
DOCS_DIRECTORY='/mkdocs' \
5+
LIVE_RELOAD_SUPPORT='false' \
6+
ADD_MODULES='false' \
7+
FAST_MODE='false' \
8+
PYTHONUNBUFFERED=1 \
9+
GIT_REPO='false' \
10+
GIT_BRANCH='master' \
11+
AUTO_UPDATE='false' \
12+
UPDATE_INTERVAL=15
13+
14+
ADD container-files/ /
15+
16+
RUN \
17+
apk add --update \
18+
ca-certificates \
19+
bash \
20+
git \
21+
openssh \
22+
python3 \
23+
python3-dev \
24+
py3-pip \
25+
build-base && \
26+
pip install --upgrade pip && \
27+
pip install mkdocs==${MKDOCS_VERSION} && \
28+
cd /bootstrap && pip install -e /bootstrap && \
29+
rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/* && \
30+
chmod 600 /root/.ssh/config
31+
32+
CMD ["/usr/bin/bootstrap", "start"]

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
### MkDocs in a docker.
22

3+
[![Discord](https://img.shields.io/discord/720919856815276063)](https://discord.com/channels/720919856815276063/720920716249137233)
34
[![Docker Image MKDocs](https://github.com/pozgo/docker-mkdocs/workflows/Docker%20Image%20MKDocs/badge.svg?branch=master)](https://github.com/pozgo/docker-mkdocs/actions?query=workflow%3A%22Build+%26+Test+MKDocs%22)
45
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fpozgo%2Fdocker-mkdocs.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fpozgo%2Fdocker-mkdocs?ref=badge_shield)
56

@@ -19,6 +20,17 @@ MkDocs is a fast, simple and downright gorgeous static site generator that's gea
1920

2021
Purpose of this image was to simplify the process of deploying MkDocs. This image is based on Alpine Linux to minimize the size of the image.
2122

23+
### ARM based image
24+
To build ARM based image Docker Desktop for macOS can be used.
25+
26+
Example build:
27+
28+
```bash
29+
docker build . --file Dockerfile-arm64v8 polinux/mkdocs:arm64v8-1.1.2
30+
```
31+
32+
### Docker compose example
33+
2234
```yaml
2335
version: '3'
2436

0 commit comments

Comments
 (0)