Skip to content

Commit a29dbba

Browse files
committed
(Dockerfile): Fix editting hosts file
We need to append rather than overwrite to prevent possible issues. Signed-off-by: Victor Otieno <victor@slick.co.ke>
1 parent cbe58d0 commit a29dbba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ RUN apt-get update -y \
2929
&& apt reinstall fonts-noto-color-emoji
3030

3131
# Edit /etc/hosts
32-
RUN echo -e "127.0.0.1 localtest.me\n::1 localtest.me" > /etc/hosts
32+
RUN echo -e "127.0.0.1 localtest.me\n::1 localtest.me" >> /etc/hosts

0 commit comments

Comments
 (0)