Initial commit
This commit is contained in:
4
cpp-builder/Dockerfile
Normal file
4
cpp-builder/Dockerfile
Normal 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
8
nginx-unity/Dockerfile
Normal 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"]
|
||||||
|
|
||||||
12
nginx-unity/ssl/Dockerfile
Normal file
12
nginx-unity/ssl/Dockerfile
Normal 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
|
||||||
|
|
||||||
Reference in New Issue
Block a user