mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[build/docker] Upgrade Ubuntu base image to 22.04 (#162282)
Release note: The default container's base image has been upgraded from Ubuntu 20.04 to 22.04
This commit is contained in:
parent
ccf07deb87
commit
9d139f6192
3 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@
|
|||
:es-docker-image: {es-docker-repo}:{version}
|
||||
|
||||
Docker images for {kib} are available from the Elastic Docker registry. The
|
||||
base image is https://hub.docker.com/_/ubuntu[ubuntu:20.04].
|
||||
base image is https://hub.docker.com/_/ubuntu[ubuntu:22.04].
|
||||
|
||||
A list of all published Docker images and tags is available at
|
||||
https://www.docker.elastic.co[www.docker.elastic.co]. The source code is in
|
||||
|
|
|
@ -39,7 +39,7 @@ export async function runDockerGenerator(
|
|||
}
|
||||
) {
|
||||
let baseImageName = '';
|
||||
if (flags.baseImage === 'ubuntu') baseImageName = 'ubuntu:20.04';
|
||||
if (flags.baseImage === 'ubuntu') baseImageName = 'ubuntu:22.04';
|
||||
if (flags.baseImage === 'ubi8') baseImageName = 'docker.elastic.co/ubi8/ubi-minimal:latest';
|
||||
if (flags.baseImage === 'ubi9') baseImageName = 'docker.elastic.co/ubi9/ubi-minimal:latest';
|
||||
|
||||
|
|
|
@ -189,7 +189,7 @@ ENTRYPOINT ["/bin/tini", "--"]
|
|||
CMD ["/app/kibana.sh"]
|
||||
# Generate a stub command that will be overwritten at runtime
|
||||
RUN mkdir /app && \
|
||||
echo -e '#!/bin/bash\nexec /usr/local/bin/kibana-docker' > /app/kibana.sh && \
|
||||
/usr/bin/echo -e '#!/bin/bash\nexec /usr/local/bin/kibana-docker' > /app/kibana.sh && \
|
||||
chmod 0555 /app/kibana.sh
|
||||
{{/cloud}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue