Skip to content

Commit

Permalink
fixtures: fix read-only krb5kdc composeBuild failure (#8799)
Browse files Browse the repository at this point in the history
Running composeBuild task for krb5kdc-fixture throws read-only file
system error while writing hostname to local hosts file. Since,
hostname resolution is already present and pointing to local node,
let's remove writing it again from the Dockerfile.

See: #8761

Signed-off-by: Rohit Ashiwal <rashiwal@amazon.com>
  • Loading branch information
r1walz authored Jul 21, 2023
1 parent 611ecc2 commit 3adde3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fixtures/krb5kdc-fixture/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ubuntu:14.04
RUN apt update -y
RUN apt upgrade -y
ADD . /fixture
RUN echo kerberos.build.opensearch.org > /etc/hostname && echo "127.0.0.1 kerberos.build.opensearch.org" >> /etc/hosts
RUN echo kerberos.build.opensearch.org > /etc/hostname
RUN bash /fixture/src/main/resources/provision/installkdc.sh

EXPOSE 88
Expand Down

0 comments on commit 3adde3a

Please sign in to comment.