Skip to content

Commit 36b72da

Browse files
committed
missed a conflict
1 parent e12d711 commit 36b72da

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

dev-tools/packaging/templates/docker/Dockerfile.elastic-agent.tmpl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,18 +79,14 @@ FROM {{ .from }}
7979

8080
ENV BEAT_SETUID_AS={{ .user }}
8181

82-
<<<<<<< HEAD
83-
{{- if contains .from "ubi-minimal" }}
82+
{{- if (and (contains .from "redhat/ubi") (contains .from "-minimal")) }}
8483
RUN for iter in {1..10}; do microdnf update -y && microdnf install -y tar gzip findutils shadow-utils && microdnf clean all && exit_code=0 && break || exit_code=$? && echo "microdnf error: retry $iter in 10s" && sleep 10; done; (exit $exit_code)
8584
{{- end }}
8685

8786
{{- if contains .from "ubuntu" }}
8887
# Delete the existing "ubuntu" user to prevent conflict with the user that is added later.
8988
# See https://bugs.launchpad.net/cloud-images/+bug/2005129/comments/2.
9089
RUN touch /var/mail/ubuntu && chown ubuntu /var/mail/ubuntu && userdel -r ubuntu
91-
=======
92-
{{- if (and (contains .from "redhat/ubi") (contains .from "-minimal")) }}
93-
>>>>>>> 56f5d9053 (docker: use the official Red Hat images (#7817))
9490
RUN for iter in {1..10}; do \
9591
apt-get update -y && \
9692
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --yes ca-certificates curl gawk xz-utils && \

0 commit comments

Comments
 (0)