Skip to content

Tools to support docker image creation for docker-mediawiki

Notifications You must be signed in to change notification settings

paladox/docker-mediawiki-tools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-mediawiki-tools

Tools to support docker image creation for docker-mediawiki.

Snippets

Add tools to image

Dockerfile:

# add /build-tools and /tools
RUN curl -LJ https://github.com/gesinn-it-pub/docker-mediawiki-tools/tarball/Init -o /tools.tgz && \
    tar -xzf /tools.tgz -C / --strip-components 1 && rm /tools.tgz
# override by custom tools
COPY tools /tools
RUN chmod +x /build-tools/* /tools/*
ENV PATH="/tools:/build-tools:${PATH}"

Override startup

./tools/startup-container.sh:

#!/bin/bash

set -euxo pipefail

service cron start
initialize-wiki.sh
apache2-foreground

Try it

> cp .env.sqlite-example .env
> docker-compose up

Releasing

Set version in tools\mediawiki-tools.version and publish release at https://github.com/gesinn-it-pub/docker-mediawiki-tools/releases.

About

Tools to support docker image creation for docker-mediawiki

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 98.0%
  • Dockerfile 2.0%