diff --git a/docker/Dockerfile b/docker/Dockerfile index b97043ca9..edf866d13 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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" ] diff --git a/docker/start.sh b/docker/start.sh index 6986b69d1..a5aa83e01 100644 --- a/docker/start.sh +++ b/docker/start.sh @@ -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.