Initial commit

This commit is contained in:
2024-06-19 11:33:02 +02:00
commit 3eadde6d2c
3 changed files with 24 additions and 0 deletions

4
cpp-builder/Dockerfile Normal file
View File

@@ -0,0 +1,4 @@
FROM alpine:latest
RUN apk add --no-cache git cmake clang ninja libusb-dev

8
nginx-unity/Dockerfile Normal file
View File

@@ -0,0 +1,8 @@
FROM alpine
RUN apk add --no-cache py3-flask unit-python3
WORKDIR /www/
CMD ["unitd", "--no-daemon", "--control", "0.0.0.0:8765"]

View File

@@ -0,0 +1,12 @@
FROM docker.dended.keenetic.pro/nginx-unit:latest
RUN apk add --no-cache openssl
RUN openssl req -x509 -nodes -days 365 \
-subj "/C=CA/ST=QC/O=Company Inc/CN=example.com" \
-newkey rsa:2048 -keyout mycert.key \
-out mycert.pem -outform=PEM
RUN mkdir /var/lib/unit/certs && \
cat mycert.pem mycert.key > /var/lib/unit/certs/bundle && \
rm mycert.pem mycert.key