summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2020-04-21 12:50:18 -0700
committerAdin Scannell <ascannell@google.com>2020-05-06 14:15:18 -0700
commit8cb33ce5ded7d417710e7e749524b895deb20397 (patch)
tree58dbbf24fc8c91e0240969ab457a59d537b3f80c
parent228c6ad7ccbf9c61bcf05155c4ab75102b4303c7 (diff)
Fix cache permissions.
-rw-r--r--website/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/website/Makefile b/website/Makefile
index 79236a34e..342d1d5a5 100644
--- a/website/Makefile
+++ b/website/Makefile
@@ -12,13 +12,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-build:
+build: content/.jekyll-cache
@bazel run //runsc -- help syscalls -format json -filename $(PWD)/syscalls.json
@docker build -t gvisor-website .
@docker run -v $$PWD:/work -w /work gcr.io/cloud-builders/npm ci
@$(MAKE) update
.PHONY: build
+content/.jekyll-cache:
+ @mkdir -p $@ && chmod a+rw $@
+
lint:
@docker run -v $$PWD:/work -w /work gcr.io/cloud-builders/npm run lint-md
.PHONY: lint