-
Notifications
You must be signed in to change notification settings - Fork 552
Closed
Milestone
Description
Possibly a reoccurrence of #3399 / #3355
If a HEREDOC section of a Dockerfile (as introduced in Buildx 1.4 https://github.com/moby/buildkit/blob/master/frontend/dockerfile/docs/syntax.md#here-documents , if there is an empty line in the HEREDOC/HERE_DOCUMENT section, this extension reports "Empty continuation line dockerfile-utils(11)"
Docker File snippet:
# syntax=docker/dockerfile:1.4
....
FROM debian:bullseye
...
# see https://www.docker.com/blog/introduction-to-heredocs-in-dockerfiles/
COPY <<EOF ${MY_PATH}/file.patch
--- file 2022-07-15 18:10:27.286229900 +0000
+++ file.two 2022-07-15 18:09:57.204518600 +0000
@@ -3,11 +3,11 @@
# DEBUG_CFLAGS=-g -O0
# LOCALCFLAGS= -I/usr/local/include/libxml2
with the report happening on the empty line between the two commented out sections.
Screenshot:
Environment
Extension version: v1.22.1 ( last updated 11/07/2022, 15:43:38 )
VS Code Version:
Version: 1.69.1 (user setup)
Commit: b06ae3b2d2dbfe28bca3134cc6be65935cdfea6a
Date: 2022-07-12T08:21:24.514Z
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: 10.0.139.17-electron.0
OS: Windows_NT x64 10.0.19044
Reactions are currently unavailable
