From 454db7736f3ff61bf988d0fe7930d253f1068d49 Mon Sep 17 00:00:00 2001 From: Viktor Benei Date: Sun, 10 Jan 2016 12:52:21 +0100 Subject: [PATCH] GOPATH chmod change, from 777 to 755 --- CHANGELOG.md | 6 +++++- Dockerfile | 5 +++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5742027..f1b77b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ -## 2016.01.09 +## 2016_01_10_1 + +* `$GOPATH` chmod change to `755`, because Ruby complains if `777` (`warning: Insecure world writable dir ... in PATH`) + +## 2016_01_09_1 * `unzip` is now pre-installed * `ruby` updated to `2.2.4` diff --git a/Dockerfile b/Dockerfile index 62588ff..1fae984 100644 --- a/Dockerfile +++ b/Dockerfile @@ -69,7 +69,8 @@ ENV PATH $PATH:/usr/local/go/bin # https://raw.githubusercontent.com/docker-library/golang/master/1.5/Dockerfile ENV GOPATH /go ENV PATH $GOPATH/bin:$PATH -RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH" +# 755 because Ruby complains if 777 (warning: Insecure world writable dir ... in PATH) +RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 755 "$GOPATH" # Install docker @@ -113,5 +114,5 @@ RUN apt-get clean WORKDIR $BITRISE_SOURCE_DIR -ENV BITRISE_DOCKER_REV_NUMBER_BASE 2016_01_09_1 +ENV BITRISE_DOCKER_REV_NUMBER_BASE 2016_01_10_1 CMD bitrise --version