Dockerfile - support syntax highlight for heredoc format

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Proposal

Right now GitLab (as of version 15.8) does not support syntax highlight for heredocs in Dockerfiles. And it should :)

For example, we are migrating from the classic format to "here document" and we no longer see syntax highlight for flags (like -y or --no-install-recommends) or shell variables (${}). Please take a look at the following screenshot:

image

Edited Sep 29, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading