This Dockerfile can be used in Continuous Delivery (CD) pipelines for SAP development projects. The image is optimized for use with project "Piper" on Jenkins. Docker containers simplify your CD tool setup, encapsulating tools and environments that are required to execute pipeline steps.
If you want to learn how to use project "Piper" please have a look at the documentation. Introductory material and a lot of SAP scenarios not covered by project "Piper" are described in our Continuous Integration Best Practices.
Dockerfile for an image with node and web browsers. This image is intended to be used for end to end tests of web applications in Jenkins pipelines.
This image is published to Docker Hub and can be pulled via the command
docker pull ppiper/node-browsers
The default tag latest
contains node 20
For node-16 or node-18 use the tag 16-bookworm
or 18-bookworm
:
docker pull ppiper/node-browsers:16-bookworm
docker pull ppiper/node-browsers:18-bookworm
To build this image locally, open a terminal in the directory of the Dockerfile and run
docker build --build-arg=BASE_IMAGE_TAG=20-bookworm -t ppiper/node-browsers .
Where the BASE_IMAGE_TAG=20-bookworm
build argument can be replaced with BASE_IMAGE_TAG=16-bookworm
or BASE_IMAGE_TAG=18-bookworm
.
The given tag must exist in the node base image and use Debian GNU/Linux.
See this blog post for usage of this image in a Jenkins pipeline based on ppiper/jenkins-master
.
Copyright 2017-2021 SAP SE or an SAP affiliate company and devops-docker-node-browsers contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.