فهرست منبع

Initial commit

Denis V. Dedkov 1 سال پیش
کامیت
3eadde6d2c
3فایلهای تغییر یافته به همراه24 افزوده شده و 0 حذف شده
  1. 4 0
      cpp-builder/Dockerfile
  2. 8 0
      nginx-unity/Dockerfile
  3. 12 0
      nginx-unity/ssl/Dockerfile

+ 4 - 0
cpp-builder/Dockerfile

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

+ 8 - 0
nginx-unity/Dockerfile

@@ -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"]
+

+ 12 - 0
nginx-unity/ssl/Dockerfile

@@ -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
+