From 398b708f5d2e1b84fcd4578d0a214c5be65d8498 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ngel=20Guzm=C3=A1n=20Maeso?= Date: Tue, 2 Aug 2022 14:14:00 +0200 Subject: [PATCH 1/2] Recommend examples usage to run in updated version For ubuntu and alpine --- README.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.adoc b/README.adoc index 7183a5a..a993b16 100644 --- a/README.adoc +++ b/README.adoc @@ -55,7 +55,7 @@ NOTE: All of the example outputs above were last generated/updated on May 3rd 20 Stop doing this: [source, dockerfile] ---- -FROM ubuntu-debootstrap:14.04 +FROM ubuntu-debootstrap:22.04 RUN apt-get update -q \ && DEBIAN_FRONTEND=noninteractive apt-get install -qy mysql-client \ && apt-get clean \ @@ -66,7 +66,7 @@ This took 28 seconds to build and yields a 169 MB image. Start doing this: [source, dockerfile] ---- -FROM alpine:3.9 +FROM alpine:3.16 RUN apk add --no-cache mysql-client ENTRYPOINT ["mysql"] ---- From 7ff358dc2dc62818bb349af182508ebff97c2cec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ngel=20Guzm=C3=A1n=20Maeso?= Date: Wed, 3 Aug 2022 01:17:32 +0200 Subject: [PATCH 2/2] No use debootstrap ubuntu deprecated Thanks to @tianon Co-authored-by: Tianon Gravi --- README.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index a993b16..f7640b6 100644 --- a/README.adoc +++ b/README.adoc @@ -55,7 +55,7 @@ NOTE: All of the example outputs above were last generated/updated on May 3rd 20 Stop doing this: [source, dockerfile] ---- -FROM ubuntu-debootstrap:22.04 +FROM ubuntu:22.04 RUN apt-get update -q \ && DEBIAN_FRONTEND=noninteractive apt-get install -qy mysql-client \ && apt-get clean \