Commit 09c0759b52b410a7d6c3e7446159604dfdd7181a

Authored by Eder Soares
1 parent 262cf5eb
Exists in 2.8 and in 7 other branches 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7

Remove arquivos Docker não utilizados

docker/ieducar_1604/Dockerfile
... ... @@ -1,52 +0,0 @@
1   -FROM ubuntu:16.04
2   -
3   -LABEL maintainer="Caroline Salib <caroline@portabilis.com.br>, Everton Muniz <everton@portabilis.com.br>, Éber Dias <eber@portabilis.com.br>"
4   -
5   -ENV DEBIAN_FRONTEND=noninteractive
6   -
7   -RUN apt-get -y update \
8   - && apt-get install -y --no-install-recommends \
9   - apache2 \
10   - php7.0 \
11   - libapache2-mod-php7.0 \
12   - php7.0-pgsql \
13   - php-pear \
14   - php-zip \
15   - php7.0-curl \
16   - rpl \
17   - wget \
18   - git \
19   - php-xdebug \
20   - php-mbstring \
21   - libreadline6 \
22   - libreadline6-dev \
23   - make \
24   - gcc \
25   - zlib1g-dev \
26   - openjdk-8-jre \
27   - && apt-get clean \
28   - && apt-get purge --auto-remove -y \
29   - && rm -rf /var/lib/apt/lists/*
30   -
31   -RUN a2enmod rewrite
32   -
33   -RUN pear install XML_RPC2
34   -
35   -COPY ieducar.conf /etc/apache2/sites-available/000-default.conf
36   -
37   -RUN echo "xdebug.remote_enable=\${XDEBUG_REMOTE_ENABLE}" >> /etc/php/7.0/apache2/conf.d/20-xdebug.ini \
38   - && echo "xdebug.remote_autostart=off" >> /etc/php/7.0/apache2/conf.d/20-xdebug.ini \
39   - && echo "xdebug.remote_host=\${XDEBUG_REMOTE_HOST}" >> /etc/php/7.0/apache2/conf.d/20-xdebug.ini \
40   - && echo "xdebug.remote_port=\${XDEBUG_REMOTE_PORT}" >> /etc/php/7.0/apache2/conf.d/20-xdebug.ini \
41   - && echo "xdebug.idekey=\${XDEBUG_IDEKEY}" >> /etc/php/7.0/apache2/conf.d/20-xdebug.ini
42   -
43   -EXPOSE 80
44   -
45   -RUN mkdir -p /home/portabilis/ieducar \
46   - && chmod 777 -R /home/portabilis/ieducar
47   -
48   -WORKDIR /home/portabilis/ieducar
49   -
50   -COPY apache2-foreground /usr/local/bin/
51   -
52   -CMD ["apache2-foreground"]
docker/ieducar_1604/apache2-foreground
... ... @@ -1,40 +0,0 @@
1   -#!/bin/bash
2   -set -e
3   -
4   -# Note: we don't just use "apache2ctl" here because it itself is just a shell-script wrapper around apache2 which provides extra functionality like "apache2ctl start" for launching apache2 in the background.
5   -# (also, when run as "apache2ctl <apache args>", it does not use "exec", which leaves an undesirable resident shell process)
6   -
7   -: "${APACHE_CONFDIR:=/etc/apache2}"
8   -: "${APACHE_ENVVARS:=$APACHE_CONFDIR/envvars}"
9   -if test -f "$APACHE_ENVVARS"; then
10   - . "$APACHE_ENVVARS"
11   -fi
12   -
13   -# Apache gets grumpy about PID files pre-existing
14   -: "${APACHE_RUN_DIR:=/var/run/apache2}"
15   -: "${APACHE_PID_FILE:=$APACHE_RUN_DIR/apache2.pid}"
16   -rm -f "$APACHE_PID_FILE"
17   -
18   -# create missing directories
19   -# (especially APACHE_RUN_DIR, APACHE_LOCK_DIR, and APACHE_LOG_DIR)
20   -for e in "${!APACHE_@}"; do
21   - if [[ "$e" == *_DIR ]] && [[ "${!e}" == /* ]]; then
22   - # handle "/var/lock" being a symlink to "/run/lock", but "/run/lock" not existing beforehand, so "/var/lock/something" fails to mkdir
23   - # mkdir: cannot create directory '/var/lock': File exists
24   - dir="${!e}"
25   - while [ "$dir" != "$(dirname "$dir")" ]; do
26   - dir="$(dirname "$dir")"
27   - if [ -d "$dir" ]; then
28   - break
29   - fi
30   - absDir="$(readlink -f "$dir" 2>/dev/null || :)"
31   - if [ -n "$absDir" ]; then
32   - mkdir -p "$absDir"
33   - fi
34   - done
35   -
36   - mkdir -p "${!e}"
37   - fi
38   -done
39   -
40   -exec apache2 -DFOREGROUND "$@"
docker/ieducar_1604/ieducar.conf
... ... @@ -1,11 +0,0 @@
1   -<VirtualHost *:80>
2   -
3   - ServerName ieducar.local
4   - DocumentRoot /home/portabilis/ieducar/ieducar
5   -
6   - <Directory /home/portabilis/ieducar/ieducar>
7   - AllowOverride All
8   - Require all granted
9   - </Directory>
10   -
11   -</VirtualHost>
12 0 \ No newline at end of file
docker/postgres/init.sql
... ... @@ -1,2 +0,0 @@
1   -CREATE ROLE ieducar LOGIN ENCRYPTED PASSWORD 'md5d2db8ddcfc6534176fdd0d01ac5cee01' SUPERUSER INHERIT NOCREATEDB NOCREATEROLE;
2   -CREATE DATABASE ieducar;
docker/postgres_95/init.sql
... ... @@ -1,2 +0,0 @@
1   -CREATE ROLE ieducar LOGIN ENCRYPTED PASSWORD 'md5d2db8ddcfc6534176fdd0d01ac5cee01' SUPERUSER INHERIT NOCREATEDB NOCREATEROLE;
2   -CREATE DATABASE ieducar;