GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — docker/Dockerfile at main · Altered-Wiki/docker Expand file tree/ Copy pathDockerfileMore file actions 81 lines (56 loc) · 2.81 KB / Copy pathDockerfileFile metadata and controls81 lines (56 loc) · 2.81 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 FROM composer:2 AS composer FROM mediawiki:1.44 COPY --from=composer /usr/bin/composer /usr/bin/composer # System deps needed for git clones, composer, and phpredis RUN apt-get update && apt-get install -y --no-install-recommends \ git \ unzip \ && rm -rf /var/lib/apt/lists/* RUN pecl install redis && docker-php-ext-enable redis WORKDIR /var/www/html # --- Composer-managed extensions -------------------------------------------- # SMW, SRF, PageForms, Maps, DynamicPageList4 COPY composer.local.json ./composer.local.json RUN composer update --no-dev --no-interaction 2>&1 # --- Git-cloned extensions -------------------------------------------------- # Elastica (ElasticSearch PHP client wrapper, required by CirrusSearch) RUN git clone --depth=1 --branch REL1_44 \ https://github.com/wikimedia/mediawiki-extensions-Elastica.git \ extensions/Elastica \ && cd extensions/Elastica \ && composer install --no-dev --no-interaction 2>&1 # CirrusSearch (full-text search backend) RUN git clone --depth=1 --branch REL1_44 \ https://github.com/wikimedia/mediawiki-extensions-CirrusSearch.git \ extensions/CirrusSearch # PDFEmbed (inline PDF viewer for open-access research papers) RUN git clone --depth=1 \ https://github.com/wikimedia/mediawiki-extensions-PDFEmbed.git \ extensions/PDFEmbed # SemanticDrilldown (faceted browse interface over SMW properties) # Canonical repo is under the SemanticMediaWiki org, not wikimedia/ RUN git clone --depth=1 \ https://github.com/SemanticMediaWiki/SemanticDrilldown.git \ extensions/SemanticDrilldown # --- Skin ------------------------------------------------------------------- RUN git clone --depth=1 \ https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git \ skins/Citizen # --- Custom AltchaCaptcha extension ----------------------------------------- RUN git clone --depth=1 \ https://github.com/Altered-Wiki/AltchaCaptcha.git \ extensions/AltchaCaptcha # --- Permissions ------------------------------------------------------------ RUN chown -R www-data:www-data extensions/AltchaCaptcha skins/Citizen # --- Static assets ---------------------------------------------------------- COPY assets/logo.svg /var/www/html/logo.svg COPY assets/cc-by-sa.png /var/www/html/cc-by-sa.png # --- Apache rewrite for clean URLs ------------------------------------------ COPY config/apache-rewrite.conf /etc/apache2/conf-enabled/mediawiki-rewrite.conf RUN a2enmod rewrite # --- PHP configuration ------------------------------------------------------ RUN echo "display_errors = Off" > /usr/local/etc/php/conf.d/errors.ini \ && echo "log_errors = On" >> /usr/local/etc/php/conf.d/errors.ini # --- Entrypoint ------------------------------------------------------------- ENTRYPOINT ["/usr/local/bin/docker-entrypoint-custom.sh"] CMD ["apache2-foreground"] |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |