Fix write to /etc/hosts for ubuntu 22.04 arm
This commit is contained in:
parent
033f68a9f7
commit
44e8644961
@ -24,7 +24,9 @@ RUN git clone https://github.com/memgraph/memgraph.git \
|
||||
&& cd .. && rm -rf memgraph
|
||||
|
||||
# Add mgdeps-cache and bench-graph-api hostnames
|
||||
RUN echo -e "10.42.16.10 mgdeps-cache\n10.42.16.10 bench-graph-api" >> /etc/hosts
|
||||
RUN echo -e "10.42.16.10 mgdeps-cache\n10.42.16.10 bench-graph-api" >> /tmp/hosts \
|
||||
&& cp /tmp/hosts /etc/hosts \
|
||||
&& rm /tmp/hosts
|
||||
|
||||
# Create mg user and set as default
|
||||
RUN useradd -m -s /bin/bash mg
|
||||
|
Loading…
Reference in New Issue
Block a user