Bug 1015943

Summary: Add a Docker container installation guide
Product: [Community] Publican Reporter: Sven Dowideit <SvenDowideit>
Component: Publican Users GuideAssignee: Ruediger Landmann <rlandman>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: futureCC: aigao, jfearn
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.0.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-19 02:46:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
initial docker usage guide. none

Description Sven Dowideit 2013-10-07 04:24:43 UTC
Created attachment 808711 [details]
initial docker usage guide.

Description of problem:
I built a docker container (based on a fedora container) that allows me to run publican without needing to install java on my main host.

see https://index.docker.io/u/svendowideit/publican/

I've attached a simplistic use instruction.

I hope that RH/Fedora will eventually maintain their own fedora container, and then their own publican container - you're welcome to use what I've made, either as is, or rebuilt - I'm mostly just learning about the parts as I head towards my own needs.

Version-Release number of selected component (if applicable):
3.2

Additional info:

the Dockerfile used to create the container is:


# run publican on the current directory
# this container is fedora based, as publican is best supported there
# from docker pull mattdm/fedora
# Build the container:
#   docker build -t svendowideit/publican .
# Run Publican (in this example, mount the current directory, and build the docbook that is in it):
#   docker run -t -i -v $(pwd):/mnt svendowideit/publican build --src_dir=/mnt --langs=en-US --formats=pd
f

FROM mattdm/fedora
MAINTAINER	Sven Dowideit <SvenDowideit.au>

RUN yum -y install publican 
RUN yum -y install publican-fedora publican-jboss publican-common-db5-web publican-common-web publican-ge
nome publican-ovirt publican-redhat

#RUN bash -c 'echo "echo foswiki configure admin user password is 'admin'" >> /.bashrc'

CMD ["--help"]
ENTRYPOINT ["publican"]
WORKDIR /mnt

#add defaults for src_dir, langs and formats
RUN bash -c 'echo "formats: \"html,html-single,pdf,txt\""' >> /.publican.cfg
RUN bash -c 'echo "langs: \"en-US\""' >> /.publican.cfg

Comment 2 Ruediger Landmann 2013-11-14 06:50:02 UTC
Thanks Sven, incorporated into the Guide! :)

b5a8407..91088cb  devel -> devel