Skip to content

Commit 3adde3a

Browse files
authored
fixtures: fix read-only krb5kdc composeBuild failure (opensearch-project#8799)
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: opensearch-project#8761 Signed-off-by: Rohit Ashiwal <rashiwal@amazon.com>
1 parent 611ecc2 commit 3adde3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/fixtures/krb5kdc-fixture/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM ubuntu:14.04
22
RUN apt update -y
33
RUN apt upgrade -y
44
ADD . /fixture
5-
RUN echo kerberos.build.opensearch.org > /etc/hostname && echo "127.0.0.1 kerberos.build.opensearch.org" >> /etc/hosts
5+
RUN echo kerberos.build.opensearch.org > /etc/hostname
66
RUN bash /fixture/src/main/resources/provision/installkdc.sh
77

88
EXPOSE 88

0 commit comments

Comments
 (0)