Sign inSign up

devxci/mbtci

By devxci

Updated about 5 years ago

Cloud MTA Build Tool Docker Image (Beta)

Image
5

1M+

devxci/mbtci repository overview

Cloud MTA Build Tool (Beta)

NOTE: devxci/mbtci has been deprecated and will not be maintained any more. It will be available until 30/09/2021. Use the new images instead.

The Cloud MTA Build Tool is a command-line tool that packages a multitarget application into a deployable archive (MTAR). For full documentation see Cloud MTA build Tool.

This image can be used to build SAP Multitarget Applications (MTA) containing Java, Node.js, and Golang modules and provided for CI env. The image hosted at hub.docker.com and GitHub packages.

Note:

  • For most cases, it's highly recommended to use the alpine version, e.g. docker pull devxci/mbtci-alpine , this version is more light-weight and should be used in production env. Using the alpine version gives the flexibility to add "per-scenario" the required set of tools.
  • The mbtci-alpine image is also hosted at GitHub packages.

How to pull the image

From the command line:


$ docker pull devxci/mbtci-alpine:latest

or


$ docker pull ghcr.io/sap/mbtci-alpine:latest

From Dockerfile as a base image:


FROM devxci/mbtci-alpine:latest

or


FROM ghcr.io/sap/mbtci-alpine:latest

How to use the image

On a Linux/Darwin machine you can run:


docker run -it --rm -v "$(pwd)/[proj-releative-path]:/project" devxci/mbtci:latest mbt build -p=cf -t [target-folder-name]

This will build an mtar file for SAP Cloud Platform (Cloud Foundry). The folder containing the project needs to be mounted into the image at /project.

Note: The parameter -p=cf can be omitted as the build for cloud foundry is the default build, this is an example of the MBT build parameters, for further commands see MBT docs.

How to build the image


docker build -t devxci/mbtci .

The image provides:

  • Cloud MTA Build Tool - 1.2.1

  • Nodejs - 12.18.3

  • Maven - 3.6.3

  • Golang - 1.14.7

  • Java - 11

The MTA Archive Builder delegates module builds to other native build tools. This image provides Node.js, Maven, Java, and Golang so the archive builder can delegate to these build technologies. In case other build tools are needed, inherit from this image and add more build tools.

License

Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file. Please note that Docker images can contain other software which may be licensed under different licenses. This License file is also included in the Docker image. For any usage of built Docker images please make sure to check the licenses of the artifacts contained in the images.

Tag summary

Content type

Image

Digest

Size

594.4 MB

Last updated

about 5 years ago

docker pull devxci/mbtci