Skip to content

Commit f281c34

Browse files
committed
[DO NOT MERGE] dummy Dockerfile to test linter GHA annotations
Signed-off-by: Mikhail Malyshev <[email protected]>
1 parent 2873a7c commit f281c34

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Test Dockerfile for CI: intentionally contains old-style ENV/ARG syntax
2+
FROM alpine:3.20
3+
4+
# Old-style ENV with single token (should modernize to ENV HOME=/root)
5+
ENV HOME /root
6+
7+
# Old-style ENV with spaces and embedded quotes (quotes inside should be escaped)
8+
ENV TITLE The "best" image
9+
10+
# Old-style ARG with default (should modernize to ARG VERSION=1.2.3)
11+
ARG VERSION 1.2.3
12+
13+
# Bare ARG (should remain unchanged; no '=' added)
14+
ARG NO_DEFAULT
15+
16+
# Old-style multi-line ENV with continuations (should collapse and wrap <=100 cols)
17+
ENV BUILD_PKGS gcc make musl-dev libcurl-dev python3-dev
18+
19+
# Already modern lines (should stay unchanged)
20+
ENV MODERN_A=1 MODERN_B=2
21+
ARG MODERN_ARG=ok

0 commit comments

Comments
 (0)