Skip to content

Commit

Permalink
Fix#65: Updated 1.5.2 (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
pozgo authored Sep 5, 2023
1 parent 221ad61 commit 1bc2937
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM alpine:latest
FROM alpine:3.18.3

ENV MKDOCS_VERSION=1.4.2 \
ENV MKDOCS_VERSION=1.5.2 \
DOCS_DIRECTORY='/mkdocs' \
LIVE_RELOAD_SUPPORT='false' \
ADD_MODULES='false' \
Expand Down Expand Up @@ -29,4 +29,4 @@ RUN \
rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/* && \
chmod 600 /root/.ssh/config

CMD ["/usr/bin/bootstrap", "start"]
CMD ["/usr/bin/python3", "/bootstrap/main.py", "start"]
4 changes: 2 additions & 2 deletions Dockerfile-arm64v8
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM arm64v8/alpine

ENV MKDOCS_VERSION=1.4.2 \
ENV MKDOCS_VERSION=1.5.2 \
DOCS_DIRECTORY='/mkdocs' \
LIVE_RELOAD_SUPPORT='false' \
ADD_MODULES='false' \
Expand Down Expand Up @@ -29,4 +29,4 @@ RUN \
rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/* && \
chmod 600 /root/.ssh/config

CMD ["/usr/bin/bootstrap", "start"]
CMD ["/usr/bin/python3", "/bootstrap/main.py", "start"]
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ verify_ssl = true
[packages]

[requires]
python_version = "3.8"
python_version = "3.11"
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ MkDocs is a fast, simple and downright gorgeous static site generator that's gea
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.

### ARM based image
To build ARM based image Docker Desktop for macOS can be used.

Example build:

```bash
docker build --file Dockerfile-arm64v8 -t polinux/mkdocs:arm64v8-1.2.2 .
docker buildx build --platform linux/arm64 --file Dockerfile-arm64v8 -t polinux/mkdocs:arm64v8-1.2.2 .
```

### Docker compose example
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '3'
services:
mkdocs:
container_name: mkdocs
image: polinux/mkdocs:1.4.2
image: polinux/mkdocs:1.5.2
restart: always
ports:
- "8000:8000"
Expand Down

0 comments on commit 1bc2937

Please sign in to comment.