Sign inSign up

semaphoreci/openjdk

By semaphoreci

Updated over 7 years ago

Semaphore openjdk images

Image
0

1.6K

semaphoreci/openjdk repository overview

Semaphore OpenJDK

Semaphore CI/CD jobs can be run inside Docker images. This allows you to define a custom build environment with pre-installed tools and dependencies needed for your project. To allow fast bootstrapping of custom environments, Semaphore comes with a set of pre-built convenience images. This repository contains pre-built convenience images for openjdk. It comes with a set of pre-installed development tools and utilities commonly needed in CI/CD environments. The following is installed:

  • Development tools and utilities: eg. git, curl, wget.
  • Docker and docker-compose.

A fully customized Docker image is always the most optimal way to set up a build environment. If you don't want to build your own fully customized image yet, the convenience images are a good first choice for your project.

How to use the images

To use the images in this repository for your CI/CD pipelines, set up your Semaphore YAML with:

version: v1.0
name: Hello openjdk
agent:
  machine:
    type: e1-standard-2
  containers:
    - name: main
      image: semaphoreci/openjdk:version
blocks:
  - name: "Hello"
    task:
      jobs:
      - name: Hello
        commands:
          - checkout
          - echo "Hello"

Detailed examples and documentation about setting up a CI/CD environment with Docker is covered in Custom CI/CD environment with Docker documentation page.

Image Variants

The openjdk image comes in several flavours.

  • openjdk:version is the basic image that comes with development utilities and is an optimal first choice for openjdk.
  • openjdk:version-node is the extension of the basic image and it comes with Node.js pre-installed.
  • openjdk:version-browsers is the extension of the basic image with an addition of Firefox and Chrome/chromedriver useful for running browser based CI/CD pipelines.
Issues

If you have any problems with this image, please contact us over email ([email protected]).

Tag summary

Content type

Image

Digest

Size

358.9 MB

Last updated

over 7 years ago

docker pull semaphoreci/openjdk:8u212-jre-slim-stretch