You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.1 KiB
29 lines
1.1 KiB
FROM registry.sindominio.net/debian |
|
|
|
RUN apt-get update && apt-get install -y |
|
|
|
# Instalar todos los módulos necesarios de PHP |
|
|
|
RUN apt-get update && apt-get -qy install \ |
|
apt-get -qy install php7.4 php-fpm php-mysql php-curl php-gd php-mbstring php-xml php-xmlrpc php-soap php-intl php-zip php-imagick php-json \ |
|
apt-get clean |
|
|
|
# Cómo hacer para que se actualice y descargue la última versión |
|
|
|
RUN curl -fsSL -o nextcloud.tar.bz2 \ |
|
"https://download.nextcloud.com/server/prereleases/nextcloud-22.2.0.tar.bz2" && \ |
|
curl -fsSL -o nextcloud.tar.bz2.asc \ |
|
"https://download.nextcloud.com/server/releases/nextcloud-22.2.0.tar.bz2.asc" && \ |
|
|
|
# Verificar la firma (habrá que encontrar ese archivo, no sé cómo |
|
|
|
RUN gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A && \ |
|
gpg --batch --verify nextcloud.tar.bz2.asc nextcloud.tar.bz2 && \ |
|
rm nextcloud.tar.bz2.asc nextcloud.tar.bz2 && \ |
|
|
|
EXPOSE ?¿?¿? |
|
VOLUME /Nextcloud/ |
|
|
|
ENTRYPOINT ["/bin,bash","/usr/local/bin/docker-entrypoint.sh"] |
|
|
|
CMD ["/usr/sbin/php-fpm7.3","--nodaemonize"]
|
|
|