camdencheek / tree-sitter-dockerfile

A tree-sitter grammar for Dockerfile
MIT License
71 stars 20 forks source link

Tokenizing breaks after comments within multiline ENVs #59

Open ac130kz opened 1 month ago

ac130kz commented 1 month ago

Minimal reproducible example:

ENV PYTHONUNBUFFERED=1 \
    # don't write precompiled files: already applied, keeping here just in case
    PYTHONDONTWRITEBYTECODE=1 \
    # a method to cleanly setup virtualenv
    VIRTUAL_ENV="/opt/venv"

2024-07-24T12:10:26UTC