Skip to content

Commit d061bb5

Browse files
authored
alpine:3.4 -> alpine:3 (3.4 is not supported in newer platforms) (#146)
1 parent 25ecb31 commit d061bb5

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/resources/invalid_parse_dockerfile/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:3.4
1+
FROM alpine:3
22

33
RUN apk update
44
# Parse error - ARG statment without idnetifier

tests/resources/invalid_run_dockerfile/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:3.4
1+
FROM alpine:3
22

33
RUN apk update
44
# Run error - file doesn't exists

tests/test_image_build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ async def build():
7979
await build()
8080

8181
captured = capsys.readouterr()
82-
assert "Step 1/3 : FROM alpine:3.4" in captured.err
82+
assert "Step 1/3 : FROM alpine:3" in captured.err
8383
assert "Step 2/3 : RUN apk update" in captured.err
8484
assert "Step 3/3 : RUN file_not_exists.sh" in captured.err
8585
assert "file_not_exists.sh: not found" in captured.err

0 commit comments

Comments
 (0)