File tree Expand file tree Collapse file tree
main/resources/META-INF/rewrite
test/java/org/openrewrite/docker Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ examples:
141141 RUN apt-get install -y curl
142142 ENTRYPOINT /app/start.sh
143143 after: |
144- ~~(EOL: ubuntu:20.04 (ended 2025-05-31, suggest noble (24 .04)))~~>~~(Missing HEALTHCHECK instruction)~~>FROM ubuntu:20.04
144+ ~~(EOL: ubuntu:20.04 (ended 2025-05-31, suggest plucky (26 .04)))~~>~~(Missing HEALTHCHECK instruction)~~>FROM ubuntu:20.04
145145 COPY app.jar /app/
146146 RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
147147 ENTRYPOINT ["/app/start.sh"]
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ void appliesBestPractices() {
4242 ENTRYPOINT /app/start.sh
4343 """ ,
4444 """
45- ~~(EOL: ubuntu:20.04 (ended 2025-05-31, suggest noble (24 .04)))~~>~~(Missing HEALTHCHECK instruction)~~>FROM ubuntu:20.04
45+ ~~(EOL: ubuntu:20.04 (ended 2025-05-31, suggest plucky (26 .04)))~~>~~(Missing HEALTHCHECK instruction)~~>FROM ubuntu:20.04
4646 COPY app.jar /app/
4747 RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
4848 ENTRYPOINT ["/app/start.sh"]
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ void detectUbuntuXenial() {
102102 RUN apt-get update
103103 """ ,
104104 """
105- ~~(EOL: ubuntu:16.04 (ended 2021-04-02, suggest noble (24 .04)))~~>FROM ubuntu:16.04
105+ ~~(EOL: ubuntu:16.04 (ended 2021-04-02, suggest plucky (26 .04)))~~>FROM ubuntu:16.04
106106 RUN apt-get update
107107 """
108108 )
@@ -118,7 +118,7 @@ void detectUbuntuBionic() {
118118 RUN apt-get update
119119 """ ,
120120 """
121- ~~(EOL: ubuntu:bionic (ended 2023-05-31, suggest noble (24 .04)))~~>FROM ubuntu:bionic
121+ ~~(EOL: ubuntu:bionic (ended 2023-05-31, suggest plucky (26 .04)))~~>FROM ubuntu:bionic
122122 RUN apt-get update
123123 """
124124 )
You can’t perform that action at this time.
0 commit comments