Code Monkey home page Code Monkey logo

mapguide-docker-build's Introduction

mapguide-docker-build

An experimental docker-driven build system for MapGuide

Requirements

  • A linux host OS that can run Docker
  • Docker
  • Git and Subversion

Usage

1. Setup environment

Clone this repository

git clone https://github.com/jumpinjackie/mapguide-docker-build ~/docker

Check out the MapGuide/FDO source code

mkdir -p ~/docker/sources/fdo/latest
mkdir -p ~/docker/sources/mapguide/latest
svn co http://svn.osgeo.org/fdo/trunk ~/docker/sources/fdo/latest
svn co http://svn.osgeo.org/mapguide/trunk/MgDev ~/docker/sources/mapguide/latest

2. Set up the base build environment image

Build the base environment image that the ephemeral build containers will be based upon

Ubuntu 14 (64-bit) example:

cd ~/docker/build
./image_build.sh --project base --distro ubuntu14 --platform x64 --component build

Ubuntu 14 (32-bit) example:

cd ~/docker/build
./image_build.sh --project base --distro ubuntu14 --platform x86 --component build

CentOS 6.x (64-bit) example:

cd ~/docker/build
./image_build.sh --project base --distro centos6 --platform x64 --component build

CentOS 6.x (32-bit) example:

cd ~/docker/build
./image_build.sh --project base --distro centos6 --platform x86 --component build

3. Run the ephemeral FDO build container

Ubuntu 14 (64-bit) example:

cd ~/docker/build
./build.sh --project fdo --distro ubuntu14 --platform x64 --component build --major $MAJOR --minor $MINOR --patch $PATCH

Ubuntu 14 (32-bit) example:

cd ~/docker/build
./build.sh --project fdo --distro ubuntu14 --platform x86 --component build --major $MAJOR --minor $MINOR --patch $PATCH

CentOS 6.x (64-bit) example:

cd ~/docker/build
./build.sh --project fdo --distro centos6 --platform x64 --component build --major $MAJOR --minor $MINOR --patch $PATCH

CentOS 6.x (32-bit) example:

cd ~/docker/build
./build.sh --project fdo --distro centos6 --platform x86 --component build --major $MAJOR --minor $MINOR --patch $PATCH

4. Run the ephemeral MapGuide build container

Ubuntu 14 (64-bit) example:

cd ~/docker/build
./image_build.sh --project mapguide --distro ubuntu14 --platform x64 --component build

Ubuntu 14 (32-bit) example:

cd ~/docker/build
./image_build.sh --project mapguide --distro ubuntu14 --platform x86 --component build

CentOS 6.x (64-bit) example:

cd ~/docker/build
./image_build.sh --project mapguide --distro centos6 --platform x64 --component build

CentOS 6.x (32-bit) example:

cd ~/docker/build
./image_build.sh --project mapguide --distro centos6 --platform x86 --component build

mapguide-docker-build's People

Contributors

jumpinjackie avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

mapguide-docker-build's Issues

FDO Build Container

  • Ubuntu container does not produce deb packages (it's currently producing .tar.xz package)
  • SVN rev not being captured in container_build_fdo.sh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.