Skip to content

Commit

Permalink
fix: make git log file readable by everyone (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-fenster committed Dec 10, 2019
1 parent 17963fb commit 56569ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ RUN gapic-generator-typescript --version
RUN protoc --version

# Save git log output for debugging purposes
COPY ./gitlog.txt /root/
COPY ./gitlog.txt /
RUN chmod 666 /gitlog.txt

ENTRYPOINT [ "/usr/local/bin/start.sh" ]
2 changes: 1 addition & 1 deletion docker/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Dump the version of the current code to stderr
echo "gapic-generator-typescript: https://github.com/googleapis/gapic-generator-typescript" 1>&2
echo "Latest commit: " 1>&2
cat /root/gitlog.txt 1>&2
cat /gitlog.txt 1>&2
echo 1>&2

# Change directory to the input directory.
Expand Down

0 comments on commit 56569ee

Please sign in to comment.