Skip to content

Commit

Permalink
Update Dockerfile to add alias for formatting JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
jabez007 committed Sep 20, 2024
1 parent 1475f67 commit f11ddba
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,15 @@ COPY Amazon_Root_CA_1.pem /root/Amazon_Root_CA_1.pem
# Tell AWS CLI to use it
ENV AWS_CA_BUNDLE=/root/Amazon_Root_CA_1.pem

# Copy in helper script for JSON formatted log files
COPY json_ppc.sh /root/json_ppc.sh

# Make the helper script executable
RUN chmod +x /root/json_ppc.sh

# Add alias for help script
RUN echo "alias jsonppc='/root/json_ppc.sh'" >> /root/.bashrc

# Copy the entrypoint script into the container
COPY entrypoint.sh /usr/local/bin/entrypoint.sh

Expand Down

0 comments on commit f11ddba

Please sign in to comment.