Skip to content

Commit

Permalink
Remove sudo references from docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
f-galland committed Feb 19, 2024
1 parent 1d8efe3 commit 0bf697d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integrations/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ services:
FROM ubuntu:20.04
RUN apt update && apt install -y iputils-ping wget gpg apt-transport-https
WORKDIR /home/logstash
RUN wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo gpg --dearmor -o /usr/share/keyrings/elastic-keyring.gpg && \
echo "deb [signed-by=/usr/share/keyrings/elastic-keyring.gpg] https://artifacts.elastic.co/packages/8.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-8.x.list && \
RUN wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | gpg --dearmor -o /usr/share/keyrings/elastic-keyring.gpg && \
echo "deb [signed-by=/usr/share/keyrings/elastic-keyring.gpg] https://artifacts.elastic.co/packages/8.x/apt stable main" | tee -a /etc/apt/sources.list.d/elastic-8.x.list && \
apt update && \
apt install -y logstash && \
chown -R logstash:logstash /etc/logstash && \
Expand Down

0 comments on commit 0bf697d

Please sign in to comment.