Skip to content

Commit

Permalink
[7.17] [build/docker] Upgrade Ubuntu base image to 22.04 (elastic#162282
Browse files Browse the repository at this point in the history
) (elastic#169581)

Backports elastic#162282, excluding the docs changes which need to go out after
release.
  • Loading branch information
jbudz authored Oct 24, 2023
1 parent 5818808 commit c8260c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dev/build/tasks/os_packages/docker_generator/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export async function runDockerGenerator(
}
) {
let baseOSImage = '';
if (flags.ubuntu) baseOSImage = 'ubuntu:20.04';
if (flags.ubuntu) baseOSImage = 'ubuntu:22.04';
if (flags.ubi) baseOSImage = 'docker.elastic.co/ubi8/ubi-minimal:latest';
const ubiVersionTag = 'ubi8';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,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}}

Expand Down

0 comments on commit c8260c3

Please sign in to comment.