Skip to content

Commit e0f6f6d

Browse files
committed
docs: clarify difference between stackable-base and stackable-devel
1 parent 5b56af2 commit e0f6f6d

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

stackable-base/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# syntax=docker/dockerfile:1.16.0@sha256:e2dd261f92e4b763d789984f6eab84be66ab4f5f08052316d8eb8f173593acf7
22
# check=error=true
33

4+
#
5+
# Base image for final stages
6+
# Should not contain any components that are not needed (or helpful) at runtime
7+
# Build time dependencies that are used in multiple images can be added to `stackable-devel` (or a derivative like `java-devel`) instead
8+
#
9+
410
FROM stackable/image/stackable-devel AS config-utils
511

612
# Find the latest version here: https://github.com/stackabletech/config-utils/tags

stackable-devel/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
#
55
# Base image for builder stages
6+
# It is intended to be used as an intermediate "workbench" layer to build components
7+
# It should not be the base for a final image to avoid shipping build time dependencies like `patchable` or `gcc`
8+
# Use `stackable-base` as a base for the final image stage instead
69
#
710

811
# Find the latest version at https://catalog.redhat.com/software/containers/ubi9/ubi-minimal/615bd9b4075b022acc111bf5?container-tabs=gti

0 commit comments

Comments
 (0)