Current Mac Files

This commit is contained in:
2024-11-26 14:37:36 -03:00
parent 6df5ccdf73
commit cfbca92b59
31 changed files with 1023 additions and 0 deletions

19
compose-env-siad/Dockerfile Executable file
View File

@@ -0,0 +1,19 @@
FROM php:5.6.39-apache
#Referencia solucion https://stackoverflow.com/questions/76094428/debian-stretch-repositories-404-not-found
RUN sed -i -e 's/deb.debian.org/archive.debian.org/g' \
-e 's|security.debian.org|archive.debian.org/|g' \
-e '/stretch-updates/d' /etc/apt/sources.list
RUN apt-get update && apt-get install -y libmcrypt-dev \
&& docker-php-ext-install mcrypt
#Ejecuto comando para instalar certificado ssl
#Referencia solucion https://github.com/nezhar/php-docker-ssl/tree/master
RUN openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/ssl-cert-snakeoil.key -out /etc/ssl/certs/ssl-cert-snakeoil.pem -subj "/C=AT/ST=Vienna/L=Vienna/O=Security/OU=Development/CN=example.com"
RUN a2enmod rewrite
#Ejecuta comando referente a la instalacion de ssl
RUN a2ensite default-ssl
RUN a2enmod ssl