mirror of
https://github.com/11notes/docker-kms-gui.git
synced 2025-11-02 04:13:13 +00:00
Compare commits
4 Commits
6fd38bbd74
...
b8f0cdb975
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b8f0cdb975 | ||
|
|
b07ff70477 | ||
|
|
7c274600f4 | ||
|
|
8ff275bb7a |
7
.json
7
.json
@@ -4,17 +4,16 @@
|
|||||||
"root":"/kms",
|
"root":"/kms",
|
||||||
|
|
||||||
"semver":{
|
"semver":{
|
||||||
"version":"465f4d1"
|
"version":"1.0.0"
|
||||||
},
|
},
|
||||||
|
|
||||||
"readme":{
|
"readme":{
|
||||||
"description":"Activate any version of Windows and Office, forever",
|
"description":"Activate any version of Windows and Office, forever",
|
||||||
"parent":{
|
"parent":{
|
||||||
"image":"11notes/kms:465f4d1"
|
"image":"11notes/kms:1.0.0"
|
||||||
},
|
},
|
||||||
"built":{
|
"built":{
|
||||||
"py-kms":"https://github.com/Py-KMS-Organization/py-kms",
|
"11notes/fork-pykms-frontend":"https://github.com/11notes/fork-pykms-frontend"
|
||||||
"CustomIcon/pykms-frontend":"https://github.com/CustomIcon/pykms-frontend"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
26
README.md
26
README.md
@@ -1,7 +1,7 @@
|
|||||||

|

|
||||||
|
|
||||||
# KMS-GUI
|
# KMS-GUI
|
||||||
[<img src="https://img.shields.io/badge/github-source-blue?logo=github&color=040308">](https://github.com/11notes/docker-KMS-GUI)[<img src="https://img.shields.io/github/issues/11notes/docker-KMS-GUI?color=7842f5">](https://github.com/11notes/docker-KMS-GUI/issues)
|
[<img src="https://img.shields.io/badge/github-source-blue?logo=github&color=040308">](https://github.com/11notes/docker-KMS-GUI)[<img src="https://img.shields.io/github/issues/11notes/docker-KMS-GUI?color=7842f5">](https://github.com/11notes/docker-KMS-GUI/issues)
|
||||||
|
|
||||||
Activate any version of Windows and Office, forever
|
Activate any version of Windows and Office, forever
|
||||||
|
|
||||||
@@ -15,7 +15,7 @@ Activate any version of Windows and Office, forever
|
|||||||
name: "kms"
|
name: "kms"
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: "11notes/kms:465f4d1"
|
image: "11notes/kms:1.0.0"
|
||||||
environment:
|
environment:
|
||||||
TZ: "Europe/Zurich"
|
TZ: "Europe/Zurich"
|
||||||
volumes:
|
volumes:
|
||||||
@@ -25,7 +25,7 @@ services:
|
|||||||
restart: "always"
|
restart: "always"
|
||||||
|
|
||||||
gui:
|
gui:
|
||||||
image: "11notes/kms-gui:465f4d1"
|
image: "11notes/kms-gui:1.0.0"
|
||||||
depends_on:
|
depends_on:
|
||||||
app:
|
app:
|
||||||
condition: "service_healthy"
|
condition: "service_healthy"
|
||||||
@@ -60,14 +60,17 @@ volumes:
|
|||||||
# MAIN TAGS 🏷️
|
# MAIN TAGS 🏷️
|
||||||
These are the main tags for the image. There is also a tag for each commit and its shorthand sha256 value.
|
These are the main tags for the image. There is also a tag for each commit and its shorthand sha256 value.
|
||||||
|
|
||||||
* [465f4d1](https://hub.docker.com/r/11notes/kms-gui/tags?name=465f4d1)
|
* [1.0.0](https://hub.docker.com/r/11notes/kms-gui/tags?name=1.0.0)
|
||||||
* [465f4d1-unraid](https://hub.docker.com/r/11notes/kms-gui/tags?name=465f4d1-unraid)
|
* [1.0.0-unraid](https://hub.docker.com/r/11notes/kms-gui/tags?name=1.0.0-unraid)
|
||||||
|
|
||||||
|
### There is no latest tag, what am I supposed to do about updates?
|
||||||
|
It is of my opinion that the ```:latest``` tag is super dangerous. Many times, I’ve introduced **breaking** changes to my images. This would have messed up everything for some people. If you don’t want to change the tag to the latest [semver](https://semver.org/), simply use the short versions of [semver](https://semver.org/). Instead of using ```:1.0.0``` you can use ```:1``` or ```:1.0```. Since on each new version these tags are updated to the latest version of the software, using them is identical to using ```:latest``` but at least fixed to a major or minor version.
|
||||||
|
|
||||||
# REGISTRIES ☁️
|
# REGISTRIES ☁️
|
||||||
```
|
```
|
||||||
docker pull 11notes/kms-gui:465f4d1
|
docker pull 11notes/kms-gui:1.0.0
|
||||||
docker pull ghcr.io/11notes/kms-gui:465f4d1
|
docker pull ghcr.io/11notes/kms-gui:1.0.0
|
||||||
docker pull quay.io/11notes/kms-gui:465f4d1
|
docker pull quay.io/11notes/kms-gui:1.0.0
|
||||||
```
|
```
|
||||||
|
|
||||||
${{ title_unraid }}
|
${{ title_unraid }}
|
||||||
@@ -77,11 +80,10 @@ This image supports unraid by default. Simply add **-unraid** to any tag and the
|
|||||||
* [11notes/kms-gui](https://github.com/11notes/docker-KMS-GUI)
|
* [11notes/kms-gui](https://github.com/11notes/docker-KMS-GUI)
|
||||||
|
|
||||||
# PARENT IMAGE 🏛️
|
# PARENT IMAGE 🏛️
|
||||||
* [11notes/kms:465f4d1](https://hub.docker.com/r/11notes/kms)
|
* [11notes/kms:1.0.0](https://hub.docker.com/r/11notes/kms)
|
||||||
|
|
||||||
# BUILT WITH 🧰
|
# BUILT WITH 🧰
|
||||||
* [py-kms](https://github.com/Py-KMS-Organization/py-kms)
|
* [11notes/fork-pykms-frontend](https://github.com/11notes/fork-pykms-frontend)
|
||||||
* [CustomIcon/pykms-frontend](https://github.com/CustomIcon/pykms-frontend)
|
|
||||||
* [11notes/util](https://github.com/11notes/docker-util)
|
* [11notes/util](https://github.com/11notes/docker-util)
|
||||||
|
|
||||||
# GENERAL TIPS 📌
|
# GENERAL TIPS 📌
|
||||||
@@ -92,4 +94,4 @@ This image supports unraid by default. Simply add **-unraid** to any tag and the
|
|||||||
# ElevenNotes™️
|
# ElevenNotes™️
|
||||||
This image is provided to you at your own risk. Always make backups before updating an image to a different version. Check the [releases](https://github.com/11notes/docker-kms-gui/releases) for breaking changes. If you have any problems with using this image simply raise an [issue](https://github.com/11notes/docker-kms-gui/issues), thanks. If you have a question or inputs please create a new [discussion](https://github.com/11notes/docker-kms-gui/discussions) instead of an issue. You can find all my other repositories on [github](https://github.com/11notes?tab=repositories).
|
This image is provided to you at your own risk. Always make backups before updating an image to a different version. Check the [releases](https://github.com/11notes/docker-kms-gui/releases) for breaking changes. If you have any problems with using this image simply raise an [issue](https://github.com/11notes/docker-kms-gui/issues), thanks. If you have a question or inputs please create a new [discussion](https://github.com/11notes/docker-kms-gui/discussions) instead of an issue. You can find all my other repositories on [github](https://github.com/11notes?tab=repositories).
|
||||||
|
|
||||||
*created 02.05.2025, 11:48:27 (CET)*
|
*created 05.05.2025, 11:08:24 (CET)*
|
||||||
@@ -3,13 +3,15 @@ ARG APP_PREFIX=""
|
|||||||
ARG APP_SUFFIX=""
|
ARG APP_SUFFIX=""
|
||||||
ARG APP_UID=1000
|
ARG APP_UID=1000
|
||||||
ARG APP_GID=1000
|
ARG APP_GID=1000
|
||||||
|
ARG BUILD_ROOT=/git/fork-pykms-frontend
|
||||||
|
|
||||||
# :: Build / styles
|
# :: Build / styles
|
||||||
FROM alpine/git AS styles
|
FROM alpine/git AS styles
|
||||||
ARG APP_NO_CACHE
|
ARG APP_NO_CACHE
|
||||||
|
ARG BUILD_ROOT
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
git clone https://github.com/11notes/pykms-frontend.git; \
|
git clone https://github.com/11notes/fork-pykms-frontend.git; \
|
||||||
cd /git/pykms-frontend;
|
cd ${BUILD_ROOT};
|
||||||
|
|
||||||
# :: Header
|
# :: Header
|
||||||
FROM 11notes/kms:${APP_PREFIX}${APP_VERSION}${APP_SUFFIX}
|
FROM 11notes/kms:${APP_PREFIX}${APP_VERSION}${APP_SUFFIX}
|
||||||
@@ -23,6 +25,13 @@ ARG APP_GID=1000
|
|||||||
ARG APP_UID
|
ARG APP_UID
|
||||||
ARG APP_GID
|
ARG APP_GID
|
||||||
ARG APP_NO_CACHE
|
ARG APP_NO_CACHE
|
||||||
|
ARG BUILD_ROOT
|
||||||
|
|
||||||
|
# :: python image
|
||||||
|
ARG PIP_ROOT_USER_ACTION=ignore
|
||||||
|
ARG PIP_BREAK_SYSTEM_PACKAGES=1
|
||||||
|
ARG PIP_DISABLE_PIP_VERSION_CHECK=1
|
||||||
|
ARG PIP_NO_CACHE_DIR=1
|
||||||
|
|
||||||
# :: environment
|
# :: environment
|
||||||
ENV APP_IMAGE=${APP_IMAGE}
|
ENV APP_IMAGE=${APP_IMAGE}
|
||||||
@@ -38,8 +47,6 @@ ARG APP_GID=1000
|
|||||||
ENV PORT=3000
|
ENV PORT=3000
|
||||||
ENV LOG_LEVEL=INFO
|
ENV LOG_LEVEL=INFO
|
||||||
|
|
||||||
ENV PIP_ROOT_USER_ACTION=ignore
|
|
||||||
|
|
||||||
# :: multi-stage
|
# :: multi-stage
|
||||||
COPY ./LICENSE /opt/py-kms
|
COPY ./LICENSE /opt/py-kms
|
||||||
|
|
||||||
@@ -57,8 +64,8 @@ ARG APP_GID=1000
|
|||||||
cd /opt/py-kms; \
|
cd /opt/py-kms; \
|
||||||
echo "${APP_VERSION}" > VERSION; \
|
echo "${APP_VERSION}" > VERSION; \
|
||||||
echo "master" >> VERSION; \
|
echo "master" >> VERSION; \
|
||||||
pip3 install --no-cache-dir --break-system-packages -r /opt/py-kms/requirements.gui.txt; \
|
pip3 install -r /opt/py-kms/requirements.gui.txt; \
|
||||||
pip3 list -o | sed 's/pip.*//' | grep . | cut -f1 -d' ' | tr " " "\n" | awk '{if(NR>=3)print}' | cut -d' ' -f1 | xargs -n1 pip3 install --no-cache-dir --break-system-packages -U; \
|
pip3 list -o | sed 's/pip.*//' | grep . | cut -f1 -d' ' | tr " " "\n" | awk '{if(NR>=3)print}' | cut -d' ' -f1 | xargs -n1 pip3 install -U; \
|
||||||
apk del --no-network .build; \
|
apk del --no-network .build; \
|
||||||
rm -rf /usr/lib/python3.12/site-packages/pip;
|
rm -rf /usr/lib/python3.12/site-packages/pip;
|
||||||
|
|
||||||
@@ -74,8 +81,8 @@ ARG APP_GID=1000
|
|||||||
rm -rf /opt/py-kms/templates; \
|
rm -rf /opt/py-kms/templates; \
|
||||||
rm -rf /opt/py-kms/static;
|
rm -rf /opt/py-kms/static;
|
||||||
|
|
||||||
COPY --from=styles /git/pykms-frontend/templates ${APP_ROOT}/styles/custom-icon/templates
|
COPY --from=styles ${BUILD_ROOT}/templates ${APP_ROOT}/styles/custom-icon/templates
|
||||||
COPY --from=styles /git/pykms-frontend/static ${APP_ROOT}/styles/custom-icon/static
|
COPY --from=styles ${BUILD_ROOT}/static ${APP_ROOT}/styles/custom-icon/static
|
||||||
|
|
||||||
# :: set correct permissions
|
# :: set correct permissions
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
name: "kms"
|
name: "kms"
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: "11notes/kms:465f4d1"
|
image: "11notes/kms:1.0.0"
|
||||||
environment:
|
environment:
|
||||||
TZ: "Europe/Zurich"
|
TZ: "Europe/Zurich"
|
||||||
volumes:
|
volumes:
|
||||||
@@ -11,7 +11,7 @@ services:
|
|||||||
restart: "always"
|
restart: "always"
|
||||||
|
|
||||||
gui:
|
gui:
|
||||||
image: "11notes/kms-gui:465f4d1"
|
image: "11notes/kms-gui:1.0.0"
|
||||||
depends_on:
|
depends_on:
|
||||||
app:
|
app:
|
||||||
condition: "service_healthy"
|
condition: "service_healthy"
|
||||||
|
|||||||
Reference in New Issue
Block a user