mirror of
https://github.com/grafana/grafana.git
synced 2026-08-07 11:55:03 -05:00
Docker: Ensure alpine is the default if no --target is specified (#121831)
* Docker: Ensure alpine is the default if no --target is specified * move to end instead of above ubuntu
This commit is contained in:
+5
-1
@@ -205,7 +205,7 @@ COPY ${RUN_SH} /run.sh
|
||||
USER "$GF_UID"
|
||||
ENTRYPOINT [ "/run.sh" ]
|
||||
|
||||
# Ubuntu final stage
|
||||
# Ubuntu final stage — use --target=final-ubuntu to select this variant
|
||||
FROM ubuntu-base AS final-ubuntu
|
||||
|
||||
LABEL maintainer="Grafana Labs <hello@grafana.com>"
|
||||
@@ -267,3 +267,7 @@ COPY ${RUN_SH} /run.sh
|
||||
|
||||
USER "$GF_UID"
|
||||
ENTRYPOINT [ "/run.sh" ]
|
||||
|
||||
# Default stage — alpine. Builds without --target produce an alpine image.
|
||||
# Use --target=final-ubuntu to build the ubuntu variant instead.
|
||||
FROM final-alpine
|
||||
|
||||
Reference in New Issue
Block a user