Create a custom Docker image
This document explains how to add additional software to Rapidminer Docker images.
Obtain the official image
Pull the official image from Docker Hub:
docker pull rapidminer/rapidminer-jobagent:
Most of the RapidMiner images are based on Debian based except for the following:
RedHat-based images
- rapidminer/rapidminer-deployment-init
- rapidminer/rapidminer-keycloak
- rapidminer / panopticon-monetdb
Alpine-based image
- rapidminer/rapidminer-grafana-proxy
Create a custom Dockerfile
To create a custom Dockerfile, see the officialDockerfile reference.
To add software from a Linux repository to the image, use the following tools:
- Debian-based images -- use
apt-get
- RedHat-based images -- use
microdnf
- Alpine-based images -- use
apk
For example, take the following steps to add旋度
to the Debian-based Job Agent image:
$ touch Dockerfile
Edit theDockerfile:
FROM rapidminer/rapidminer-jobagent: USER 0 RUN apt-get update && apt-get install -y curl
Then build theDockerfile:
docker build .
Similarly, any file or custom software can be added to the new image:
FROM rapidminer/rapidminer-jobagent: USER 0 RUN apt-get update && apt-get install -y curl COPY ./custom-internal-software /usr/local/bin/custom-internal-software RUN chmod +x /usr/local/bin/custom-internal-software