Skip to content

Commit

Permalink
dont run with sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed Oct 8, 2024
1 parent 0ab5761 commit fd20434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-context/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ RUN sed -i "s/\(namespace.*{\)/\1\n\tstrong-consistency-allow-expunge true/" /et
ENV ROSTER_FILE_NAME=roster.smd
COPY $ROSTER_FILE_NAME .
# TODO: uninstall jq
RUN sudo apt-get install -y jq
RUN apt-get install -y jq
RUN sed -i "s/\(^service {\)/\1\n\tnode-id $(jq --raw-output ".[1].value" $SMD_FOLDER/$ROSTER_FILE_NAME)/" /etc/aerospike/aerospike.template.conf

0 comments on commit fd20434

Please sign in to comment.