Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
584 B
13 lines
584 B
5 years ago
|
#!/bin/bash
|
||
|
|
||
|
# Move docker's storage location to scratch disk so we don't run out of space.
|
||
|
echo 'DOCKER_OPTS="${DOCKER_OPTS} --graph=/tmpfs/docker"' | sudo tee --append /etc/default/docker
|
||
|
# Use container registry mirror for pulling docker images (should make downloads faster)
|
||
|
# See https://cloud.google.com/container-registry/docs/using-dockerhub-mirroring
|
||
|
echo 'DOCKER_OPTS="${DOCKER_OPTS} --registry-mirror=https://mirror.gcr.io"' | sudo tee --append /etc/default/docker
|
||
|
sudo service docker restart
|
||
|
|
||
|
# All artifacts come here
|
||
|
mkdir artifacts
|
||
|
export ARTIFACT_DIR=$(pwd)/artifacts
|