Skip to content

Commit

Permalink
feat: add alias for gojq (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejmacq-dev authored Jun 3, 2023
1 parent 9055c15 commit 9cb1c88
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ RUN gosu atlantis bash -l -c " \
# Additional cleanup
RUN rm -rf /tmp/*
# Add alias
RUN alias jq=gojq
RUN echo 'alias jq=gojq' >> ~/.bashrc

# Set atlantis login shell to bash
RUN sed -i s#atlantis:/sbin/nologin#atlantis:/bin/bash#g /etc/passwd
Expand All @@ -121,7 +121,6 @@ RUN chmod a+x /usr/local/bin/docker-entrypoint.sh && \
chmod a+x /usr/local/bin/pull-gitlab-variables.sh

USER atlantis

# Add GitHub and GitLab to known keys file for safe SSH connections
RUN mkdir -p /home/atlantis/.ssh && \
chmod 0700 /home/atlantis/.ssh && \
Expand Down

0 comments on commit 9cb1c88

Please sign in to comment.