Docker Demonstration Images for ARPA2.net
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
base
build-apachemod
build-bin
build-diameter
build-libtls
build-pip
build-qpid
build-quickder-lillydap
build-steamworks
build-tlspool
demo-6bed4
demo-dns
demo-ffsasl
demo-globaldir
demo-identityhub
demo-kerberos
demo-keymaster
demo-messaging
demo-reservoir
wip-cherrypy
wip-keymaster
wip-tlspool
.gitignore
CMakeLists.txt
README.MD
demo-identityhub.script
deps.dot
deps.png

README.MD

Docker Demos for ARPA2

These are demonstration images based on Docker. They are a basis for our own development, and for sharing the results.

Dependencies are shown in the graphic below.

Build dependencies

Quick start (Video)

To see a usage video in your console, run

script -p demo-identityhub.script

To build the images, run CMake to setup and then make the respective demonstration:

cmake .
make demo-identityhub

The directories contain individual README files. They are installed in the root dir of the images.

Generally, the demo-* directories are targets and wip-* is work in progress. The build-* are helpful temporary images during building; we build stuff in them and then COPY --from to a target image.

Adding images

Please commit a new demo as wip-* until it can actually be tried, at which time it moves to demo-* -- this may save some disappointments.

A good approach is probably to start off with FROM arpa2:build-xxx and when it all works, strip away the unnecessary build environment by switching to FROM arpa2:base or another runtime base, and using COPY --from=xxx to copy necessary elements from the original arpa2:build-xxx that is now a preliminary phase FROM arpa2:build-xxx AS xxx

You can create a typescript console "video" with

script -r <imagename>.script

The dependency graph is re-created any time you run CMake in/on the root dir of this repository. This is a good place and time, because it overviews what you may just have updated. A new image is only created when you have dot installed though. If not, it will quietly fail.

Using on Windows

Docker images can be built on Windows without problem. You can use Docker for Windows, as described below, but it is easier to create a Linux VM (eg. using VirtualBox) and use Docker for Linux instead, because then Hyper-V is not required and one can use IPv6.

Using Docker for Windows

When using Docker for Windows remember that Hyper-V should be enabled and running, and that files are being copied into containers, and those files should not get LF translated to CR-LF, as is the default when cloning a Git repository.

The solution is to setup your repository with

git clone https://github.com/arpa2/docker-demo --config core.autocrlf=input

[credit]