Skip to content

Commit

Permalink
Update Dockerfile to change where json_ppc.sh lives
Browse files Browse the repository at this point in the history
  • Loading branch information
jabez007 authored Sep 20, 2024
1 parent f11ddba commit cabd01b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ COPY Amazon_Root_CA_1.pem /root/Amazon_Root_CA_1.pem
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
COPY json_ppc.sh /usr/local/bin/json_ppc.sh

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

# Add alias for help script
RUN echo "alias jsonppc='/root/json_ppc.sh'" >> /root/.bashrc
RUN echo "alias jsonppc='/usr/local/bin/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 cabd01b

Please sign in to comment.