Upgrade Centos version in Dockerfile to 8 (#59019)

This commit is contained in:
Steven Goossens 2020-08-06 14:42:34 +02:00 committed by Rory Hunter
parent 273a6f916d
commit a62c5ae11b
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
# Set gid=0 and make group perms==owner perms # Set gid=0 and make group perms==owner perms
################################################################################ ################################################################################
FROM centos:7 AS builder FROM centos:8 AS builder
# `tini` is a tiny but valid init for containers. This is used to cleanly # `tini` is a tiny but valid init for containers. This is used to cleanly
# control how ES and any child processes are shut down. # control how ES and any child processes are shut down.
@ -61,7 +61,7 @@ RUN chmod 0660 config/elasticsearch.yml config/log4j2.properties
# Add entrypoint # Add entrypoint
################################################################################ ################################################################################
FROM centos:7 FROM centos:8
ENV ELASTIC_CONTAINER true ENV ELASTIC_CONTAINER true