Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2893590
Dockerfile
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
977 B
Referenced Files
None
Subscribers
None
Dockerfile
View Options
FROM mariadb
RUN apt-get -y update && apt-get -y upgrade && apt-get install -y \
ca-certificates \
openssl
RUN export PRECD=$(pwd) && mkdir -p /etc/phab-db/ssl/ && cd /etc/phab-db/ssl/ && \
openssl genrsa 4096 > ca-key.pem && \
openssl rsa -in ca-key.pem -out ca-key.pem && \
openssl req -x509 -key ca-key.pem -sha256 -days 3650 -nodes -out ca.pem \
-subj "/C=XX/ST=StateName/L=CityName/O=CompanyName/OU=CompanySectionName/CN=CommonNameOrHostname" && \
openssl req -newkey rsa:4096 -keyout server-key.pem -sha256 -days 3650 -nodes -out server-req.pem \
-subj "/C=XX/ST=StateName/L=CityName/O=CompanyName/OU=CompanySectionName/CN=CommonNameOrHostname" && \
openssl rsa -in server-key.pem -out server-key.pem && \
openssl x509 -req -in server-req.pem -days 3650 -CA ca.pem -CAkey ca-key.pem -set_serial 01 -out server-cert.pem && \
cd $PRECD && \
chown mysql -R /etc/phab-db
ADD ./conf/00-phab-mysql.cnf /etc/mysql/conf.d/
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 19, 18:42 (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1125842
Default Alt Text
Dockerfile (977 B)
Attached To
Mode
rDEVENV dev-env
Attached
Detach File
Event Timeline
Log In to Comment