Docker ComposeでVega Editor実行環境を構築してみた

業務でElasticsearchやKibanaやVegaを利用しています。VegaはKibanaのプラグインとしてKibanaの欠点とも言える複雑な演算やその結果を用いた描画を可能にする便利なOSSです。しかし、Vegaは単なるKibanaのプラグインだけの存在ではありません。Vega単独で使っても優れた描画ツールとして機能します。本記事ではVegaによる描画作業を格段に快適に出来るVega EditorをDocker Composeを用いて環境構築した時の手順を備忘録も兼ねてまとめることとします。

:grin: 本記事は社内Proxy環境上での環境構築に対応した内容となっています。

# Vega Editorとは？
[Vega Example Gallery](https://vega.github.io/vega/examples/)でも利用されているVegaによる高機能グラフ描画エディター(下図参照)です。描画結果をPDFや画像形式に加えてJSON形式で保存することが可能です。Web上の環境に業務データを入れるのは避けたいのでDocker Composeを用いて環境を構築することとします。

![webeditor.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/469079/170447fe-46bd-9b53-b87e-03a8be144e55.png)

![output.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/469079/f75a3670-84a6-5b65-5d13-e6c16fe7f875.png)

# 環境構築に向けた準備
本記事で紹介する環境構築ではDocker Composeを利用します。Docker Composeの利用にはDocker及びDocker Composeのインストールが必要になります。OSに応じてインストール方法は若干異なります。インストール方法は他のページ及び書籍に譲ることとし、本記事では割愛します。以下の公式サイトを参考にして下さい。
https://docs.docker.com/install/linux/docker-ce/ubuntu/
https://docs.docker.com/compose/install/

## コンテナイメージビルド時のapt-get実行時の対策
コンテナイメージをビルドを実行する時にコンテナ内のOS(Linux)上でapt-getコマンドが実行されます。対策を講じておかないとビルド時にエラーが続出します。

### Homeディレクトリ上に.dockerディレクトリを作成
以下のコマンドを実行します。

```bash
mkdir ~/.docker
```

### config.jsonの作成

```bash
vim ~/.docker/config.json
```

以下の内容を記載します。

```json
{
    "proxies":
    {
        "default":
        {
            "httpProxy": <HTTP_PROXY>:<PORT>,
            "httpsProxy": <HTTPS_PROXY>:<PORT>
        }
    }
}
```

これでDockerイメージのビルド時にapt-getが実行されてもProxy起因のエラーに悩まされずに済みます。

# イメージファイルのビルド
まず、Dockerfileを[公式のGitHub](https://github.com/vega/editor)から入手し、イメージファイルをビルドします。

##  GitHubからリポジトリをクローン

```bash
git clone https://github.com/vega/editor.git
```

## クローンしたディレクトリ内に移動

```bash
cd editor
```

## Dokcerfileの編集
クローンした状態のDockerfileをそのままビルドすることが現状では出来ませんので以下の様に編集します。

### ~~OSアップグレードを追加~~

<details><summary>追加不要になりました。(2019/10/4追記)</summary><div>

```diff
# Fetch updated list of packages
- RUN apt-get update
+ RUN apt-get update && apt-get upgrade -y
```
</div></details>

~~OSのアップグレードをしないと次のステップでインストールするrsyncがインストール出来ず、イメージビルドがエラー終了してしまいます。~~

#### 2019/10/4追記
OSアップグレードをDockerfileに追加する必要は無くなりました。Dockerfileを修正してpull requestを出した所、無事masterにmergeされました。

<img width="1440" alt="初プルリクエストがマージされた証拠2.png" src="https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/469079/ccfb28e5-0e83-7c3c-2ef9-2ec64b05c114.png">

### yarnのタイムアウト時間の変更とProxy情報オプションの追記

```diff
# Run Yarn
- RUN yarn
+ RUN yarn config set network-timeout 1000000 && yarn --proxy <HTTP_PROXY>:<PORT> --https-proxy <HTTPS_PROXY>:<PORT>
```

Vegaのイメージビルド時に依存関係解決の為に実行されるダウンロードが重すぎるためタイムアウト時間を引き延ばさないと<font color="red">info There appears to be trouble with your network connection. Retrying...</font>と出続けてしまい、ビルドが終わりません。また、本来はイメージファイル内にプロキシ情報を追加するのはセキュリティー上好ましくないのですが、現状のyarnではオプション渡しをせざるを得ない様です。(引数渡しで与えるProxy情報やconfig.jsonの情報を参照しないため)

## Dockerイメージのビルド
以下のコマンドを実行します。

```bash
docker-compose build --build-arg http_proxy=$http_proxy --build-arg https_proxy=$https_proxy
```
<details><summary>正常にビルドが進んだ場合</summary><div>

```bash

$ docker-compose build --build-arg http_proxy=$http_proxy --build-arg https_proxy=$https_proxy 
Building editor 
Step 1/12 : FROM node:12 
12: Pulling from library/node
092586df9206: Pull complete
ef599477fae0: Pull complete
4530c6472b5d: Pull complete
d34d61487075: Pull complete
87fc2710b63f: Pull complete
e83c771c5387: Pull complete
c28bd271641e: Pull complete
5137e6957710: Pull complete
1d8bcbc41a69: Pull complete
Digest: sha256:cda22332e2dd46807a14d3268ee3fb298651386ad1f03cfd58772a7dc65f89c7
Status: Downloaded newer image for node:12
 ---> d8c33ae35f44 
Step 2/12 : EXPOSE 8090 
 ---> Running in 1aa18d8dbc5c 
Removing intermediate container 1aa18d8dbc5c 
 ---> e583752d0fec
Step 3/12 : RUN apt-get update && apt-get upgrade -y
 ---> Running in 86fdbbcd7019 
Get:1 http://security-cdn.debian.org/debian-security stretch/updates InRelease [94.3 kB] 
Get:2 http://security-cdn.debian.org/debian-security stretch/updates/main amd64 Packages [499 kB] 
Ign:3 http://cdn-fastly.deb.debian.org/debian stretch InRelease 
Get:4 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease [91.0 kB] 
Get:6 http://cdn-fastly.deb.debian.org/debian stretch-updates/main amd64 Packages [27.4 kB] 
Get:5 http://cdn-fastly.deb.debian.org/debian stretch Release [118 kB] 
Get:7 http://cdn-fastly.deb.debian.org/debian stretch Release.gpg [2365 B] 
Get:8 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 Packages [7086 kB] 
Fetched 7918 kB in 4s (1723 kB/s) 
Reading package lists...
Reading package lists... 
Building dependency tree... 
Reading state information...
Calculating upgrade... 
The following packages will be upgraded: 
  comerr-dev e2fslibs e2fsprogs libcomerr2 libexpat1 libexpat1-dev libss2
  libssl-dev libssl1.0.2 libssl1.1 libsvn1 linux-libc-dev openssl subversion
  tzdata
15 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 
Need to get 10.6 MB of archives.
After this operation, 26.6 kB of additional disk space will be used.
Get:1 http://security-cdn.debian.org/debian-security stretch/updates/main amd64 e2fslibs amd64 1.43.4-2+deb9u1 [208 kB]
Get:2 http://security-cdn.debian.org/debian-security stretch/updates/main amd64 e2fsprogs amd64 1.43.4-2+deb9u1 [947 kB] 
Get:3 http://security-cdn.debian.org/debian-security stretch/updates/main amd64 comerr-dev amd64 2.1-1.43.4-2+deb9u1 [38.4 kB] 
Get:4 http://security-cdn.debian.org/debian-security stretch/updates/main amd64 libcomerr2 amd64 1.43.4-2+deb9u1 [63.5 kB] 
Get:5 http://security-cdn.debian.org/debian-security stretch/updates/main amd64 libss2 amd64 1.43.4-2+deb9u1 [67.8 kB] 
Get:6 http://security-cdn.debian.org/debian-security stretch/updates/main amd64 libssl1.0.2 amd64 1.0.2t-1~deb9u1 [1304 kB] 
Get:7 http://security-cdn.debian.org/debian-security stretch/updates/main amd64 libssl-dev amd64 1.1.0l-1~deb9u1 [1594 kB] 
Get:15 http://cdn-fastly.deb.debian.org/debian stretch-updates/main amd64 tzdata all 2019c-0+deb9u1 [276 kB] 
Get:8 http://security-cdn.debian.org/debian-security stretch/updates/main amd64 libssl1.1 amd64 1.1.0l-1~deb9u1 [1358 kB] 
Get:9 http://security-cdn.debian.org/debian-security stretch/updates/main amd64 libexpat1-dev amd64 2.2.0-2+deb9u3 [134 kB] 
Get:10 http://security-cdn.debian.org/debian-security stretch/updates/main amd64 libexpat1 amd64 2.2.0-2+deb9u3 [83.7 kB]
Get:11 http://security-cdn.debian.org/debian-security stretch/updates/main amd64 subversion amd64 1.9.5-1+deb9u5 [994 kB]
Get:12 http://security-cdn.debian.org/debian-security stretch/updates/main amd64 libsvn1 amd64 1.9.5-1+deb9u5 [1319 kB] 
Get:13 http://security-cdn.debian.org/debian-security stretch/updates/main amd64 linux-libc-dev amd64 4.9.189-3+deb9u1 [1446 kB] 
Get:14 http://security-cdn.debian.org/debian-security stretch/updates/main amd64 openssl amd64 1.1.0l-1~deb9u1 [749 kB] 
debconf: delaying package configuration, since apt-utils is not installed 
Fetched 10.6 MB in 1s (7675 kB/s) 
(Reading database ... 29962 files and directories currently installed.) 
Preparing to unpack .../e2fslibs_1.43.4-2+deb9u1_amd64.deb ...
Unpacking e2fslibs:amd64 (1.43.4-2+deb9u1) over (1.43.4-2) ... 
Setting up e2fslibs:amd64 (1.43.4-2+deb9u1) ... 
(Reading database ... 29962 files and directories currently installed.) 
Preparing to unpack .../e2fsprogs_1.43.4-2+deb9u1_amd64.deb ... 
Unpacking e2fsprogs (1.43.4-2+deb9u1) over (1.43.4-2) ... 
Setting up e2fsprogs (1.43.4-2+deb9u1) ... 
(Reading database ... 29962 files and directories currently installed.) 
Preparing to unpack .../comerr-dev_2.1-1.43.4-2+deb9u1_amd64.deb ...
Unpacking comerr-dev (2.1-1.43.4-2+deb9u1) over (2.1-1.43.4-2) ... 
Preparing to unpack .../libcomerr2_1.43.4-2+deb9u1_amd64.deb ... 
Unpacking libcomerr2:amd64 (1.43.4-2+deb9u1) over (1.43.4-2) ... 
Setting up libcomerr2:amd64 (1.43.4-2+deb9u1) ... 
(Reading database ... 29962 files and directories currently installed.) 
Preparing to unpack .../libss2_1.43.4-2+deb9u1_amd64.deb ... 
Unpacking libss2:amd64 (1.43.4-2+deb9u1) over (1.43.4-2) ... 
Setting up libss2:amd64 (1.43.4-2+deb9u1) ... 
(Reading database ... 29962 files and directories currently installed.) 
Preparing to unpack .../0-tzdata_2019c-0+deb9u1_all.deb ...
Unpacking tzdata (2019c-0+deb9u1) over (2019b-0+deb9u1) ... 
Preparing to unpack .../1-libssl1.0.2_1.0.2t-1~deb9u1_amd64.deb ... 
Unpacking libssl1.0.2:amd64 (1.0.2t-1~deb9u1) over (1.0.2s-1~deb9u1) ... 
Preparing to unpack .../2-libssl-dev_1.1.0l-1~deb9u1_amd64.deb ... 
Unpacking libssl-dev:amd64 (1.1.0l-1~deb9u1) over (1.1.0k-1~deb9u1) ... 
Preparing to unpack .../3-libssl1.1_1.1.0l-1~deb9u1_amd64.deb ... 
Unpacking libssl1.1:amd64 (1.1.0l-1~deb9u1) over (1.1.0k-1~deb9u1) ... 
Preparing to unpack .../4-libexpat1-dev_2.2.0-2+deb9u3_amd64.deb ... 
Unpacking libexpat1-dev:amd64 (2.2.0-2+deb9u3) over (2.2.0-2+deb9u2) ... 
Preparing to unpack .../5-libexpat1_2.2.0-2+deb9u3_amd64.deb ... 
Unpacking libexpat1:amd64 (2.2.0-2+deb9u3) over (2.2.0-2+deb9u2) ... 
Preparing to unpack .../6-subversion_1.9.5-1+deb9u5_amd64.deb ... 
Unpacking subversion (1.9.5-1+deb9u5) over (1.9.5-1+deb9u4) ... 
Preparing to unpack .../7-libsvn1_1.9.5-1+deb9u5_amd64.deb ... 
Unpacking libsvn1:amd64 (1.9.5-1+deb9u5) over (1.9.5-1+deb9u4) ... 
Preparing to unpack .../8-linux-libc-dev_4.9.189-3+deb9u1_amd64.deb ... 
Unpacking linux-libc-dev:amd64 (4.9.189-3+deb9u1) over (4.9.189-3) ... 
Preparing to unpack .../9-openssl_1.1.0l-1~deb9u1_amd64.deb ... 
Unpacking openssl (1.1.0l-1~deb9u1) over (1.1.0k-1~deb9u1) ... 
Setting up libexpat1:amd64 (2.2.0-2+deb9u3) ... 
Setting up comerr-dev (2.1-1.43.4-2+deb9u1) ... 
Setting up tzdata (2019c-0+deb9u1) ... 
debconf: unable to initialize frontend: Dialog 
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
 
Current default time zone: 'Etc/UTC'
Local time is now:      Thu Oct  3 04:43:28 UTC 2019. 
Universal Time is now:  Thu Oct  3 04:43:28 UTC 2019.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up linux-libc-dev:amd64 (4.9.189-3+deb9u1) ... 
Setting up libssl1.0.2:amd64 (1.0.2t-1~deb9u1) ... 
debconf: unable to initialize frontend: Dialog 
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Processing triggers for libc-bin (2.24-11+deb9u4) ... 
Setting up libssl1.1:amd64 (1.1.0l-1~deb9u1) ... 
debconf: unable to initialize frontend: Dialog 
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Setting up openssl (1.1.0l-1~deb9u1) ... 
Setting up libexpat1-dev:amd64 (2.2.0-2+deb9u3) ... 
Setting up libsvn1:amd64 (1.9.5-1+deb9u5) ... 
Setting up libssl-dev:amd64 (1.1.0l-1~deb9u1) ... 
Setting up subversion (1.9.5-1+deb9u5) ... 
Processing triggers for libc-bin (2.24-11+deb9u4) ... 
Removing intermediate container 86fdbbcd7019 
 ---> 238aa51bee1b 
Step 4/12 : RUN apt-get -y install rsync
 ---> Running in 87ded46be89b 
Reading package lists... 
Building dependency tree... 
Reading state information...
The following additional packages will be installed: 
  libpopt0
Suggested packages:
  openssh-server
The following NEW packages will be installed: 
  libpopt0 rsync
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 
Need to get 442 kB of archives.
After this operation, 933 kB of additional disk space will be used.
Get:1 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libpopt0 amd64 1.16-10+b2 [49.4 kB]
Get:2 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 rsync amd64 3.1.2-1+deb9u2 [393 kB] 
debconf: delaying package configuration, since apt-utils is not installed 
Fetched 442 kB in 0s (468 kB/s) 
Selecting previously unselected package libpopt0:amd64. 
(Reading database ... 29962 files and directories currently installed.) 
Preparing to unpack .../libpopt0_1.16-10+b2_amd64.deb ...
Unpacking libpopt0:amd64 (1.16-10+b2) ... 
Selecting previously unselected package rsync. 
Preparing to unpack .../rsync_3.1.2-1+deb9u2_amd64.deb ...
Unpacking rsync (3.1.2-1+deb9u2) ... 
Setting up libpopt0:amd64 (1.16-10+b2) ... 
Setting up rsync (3.1.2-1+deb9u2) ... 
invoke-rc.d: could not determine current runlevel 
invoke-rc.d: policy-rc.d denied execution of restart.
Processing triggers for libc-bin (2.24-11+deb9u4) ... 
Removing intermediate container 87ded46be89b 
 ---> a9a08851a1fe
Step 5/12 : WORKDIR /usr/src/app
 ---> Running in fed9c67aed82 
Removing intermediate container fed9c67aed82 
 ---> fa94fae6f51a
Step 6/12 : COPY package.json yarn.lock ./
 ---> 83c69e38970b 
Step 7/12 : COPY scripts ./scripts
 ---> cacf1bd51a29 
Step 8/12 : RUN sed $'s/\r$//' ./scripts/vendor.sh > ./scripts/vendor.sh
 ---> Running in cf39e0e7ee85 
Removing intermediate container cf39e0e7ee85 
 ---> d31fdcbb6586
Step 9/12 : COPY . .
 ---> d2263f517ba1 
Step 10/12 : RUN yarn config set network-timeout 1000000 && yarn --proxy <HTTP_PROXY>:<PORT> --https-proxy <HTTPS_PROXY>:<PORT>
 ---> Running in d9bd791a5954 
yarn config v1.17.3 
success Set "network-timeout" to "1000000". 
Done in 0.06s.
yarn install v1.17.3 
[1/4] Resolving packages... 
[2/4] Fetching packages... 
info fsevents@1.2.9: The platform "linux" is incompatible with this module. 
info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies... 
warning " > vega-embed@5.1.3" has unmet peer dependency "vega@*". 
warning " > vega-themes@2.4.0" has unmet peer dependency "vega@*".
warning " > vega-lite@4.0.0-beta.9" has unmet peer dependency "vega@^5.7.0".
warning " > monaco-editor-webpack-plugin@1.7.0" has incorrect peer dependency "monaco-editor@^0.15.1". 
[4/4] Building fresh packages... 
$ yarn vendor && beemo create-config --react 
yarn run v1.17.3 
$ scripts/vendor.sh 
Copying data to 'public/data'. 
Copy examples to 'public/spec'. 
/tmp /usr/src/app 
--2019-10-03 04:46:21--  https://github.com/vega/vega/archive/v5.7.0.tar.gz 
Resolving proxy.com (proxy.com)... 10.0.58.88 
Connecting to proxy.com (proxy.com)|10.0.58.88|:8080... connected. 
Proxy request sent, awaiting response... 302 Found 
Location: https://codeload.github.com/vega/vega/tar.gz/v5.7.0 [following]
--2019-10-03 04:46:22--  https://codeload.github.com/vega/vega/tar.gz/v5.7.0
Connecting to proxy.com (proxy.com)|10.0.58.88|:8080... connected.
Proxy request sent, awaiting response... 200 OK 
Length: unspecified [application/x-gzip]
Saving to: 'vega.tar.gz' 

     0K .......... .......... .......... .......... ..........  793K 
    50K .......... .......... .......... .......... .......... 1.02M 
   100K .......... .......... .......... .......... .......... 1.44M 
   150K .......... .......... .......... .......... .......... 1021K 
   200K .......... .......... .......... .......... .......... 1.51M 
   250K .......... .......... .......... .......... .......... 1.55M 
   300K .......... .......... .......... .......... .......... 2.57M
   350K .......... .......... .......... .......... .......... 1.53M 
   400K .......... .......... .......... .......... .......... 1.68M 
   450K .......... .......... .......... .......... .......... 2.35M 
   500K .......... .......... .......... .......... .......... 2.84M 
   550K .......... .......... .......... .......... .......... 1.80M 
   600K .......... .......... .......... .......... .......... 2.72M 
   650K .......... .......... .......... .......... .......... 2.23M 
   700K .......... .......... .......... .......... .......... 3.19M
   750K .......... .......... .......... .......... .......... 3.10M
   800K .......... .......... .......... .......... .......... 3.13M
   850K .......... .......... .......... .......... .......... 3.03M
   900K .......... .......... .......... .......... .......... 3.86M 
   950K .......... .......... .......... .......... .......... 3.14M
  1000K .......... .......... .......... .......... .......... 4.81M
  1050K .......... .......... .......... .......... .......... 3.45M
  1100K .......... .......... .......... .......... .......... 3.93M
  1150K .......... .......... .......... .......... .......... 3.21M
  1200K .......... .......... .......... .......... .......... 2.92M 
  1250K .......... .......... .......... .......... .......... 5.21M
  1300K .......... .......... .......... .......... .......... 3.08M
  1350K .......... .......... .......... .......... .......... 2.91M
  1400K .......... .......... .......... .......... .......... 3.91M
  1450K .......... .......... .......... .......... .......... 3.12M 
  1500K .......... .......... .......... .......... .......... 3.74M
  1550K .......... .......... .......... .......... .......... 5.11M
  1600K .......... .......... .......... .......... .......... 3.37M
  1650K .......... .......... .......... .......... .......... 3.75M
  1700K .......... .......... .......... .......... .......... 3.14M 
  1750K .......... .......... .......... .......... .......... 3.46M
  1800K .......... .......... .......... .......... .......... 3.47M
  1850K .......... .......... .......... .......... .......... 4.90M
  1900K .......... .......... .......... .......... .......... 3.76M
  1950K .......... .......... .......... .......... .......... 3.54M
  2000K .......... .......... .......... .......... .......... 3.27M 
  2050K .......... .......... .......... .......... .......... 3.51M
  2100K .......... .......... .......... .......... .......... 3.33M
  2150K .......... .......... .......... .......... .......... 6.39M
  2200K .......... .......... .......... .......... .......... 3.27M
  2250K .......... .......... .......... .......... .......... 3.56M
  2300K .......... .......... .......... .......... .......... 3.54M 
  2350K .......... .......... .......... .......... .......... 3.38M
  2400K .......... .......... .......... .......... .......... 4.47M
  2450K .......... .......... .......... .......... .......... 3.49M
  2500K .......... .......... .......... .......... .......... 3.59M
  2550K .......... .......... .......... .......... .......... 3.15M
  2600K .......... .......... .......... .......... .......... 3.72M
  2650K .......... .......... .......... .......... .......... 5.75M 
  2700K .......... .......... .......... .......... .......... 3.20M
  2750K .......... .......... .......... .......... .......... 3.29M
  2800K .......... .......... .......... .......... .......... 3.34M
  2850K .......... .......... .......... .......... .......... 3.89M 
  2900K .......... .......... .......... .......... .......... 3.75M
  2950K .......... .......... .......... .......... .......... 4.61M 
  3000K .......... .......... .......... .......... .......... 3.32M 
  3050K .......... .......... .......... .......... .......... 3.12M 
  3100K .......... .......... .......... .......... .......... 3.26M 
  3150K .......... .......... .......... .......... .......... 4.86M
  3200K .......... .......... .......... .......... .......... 4.52M
  3250K .......... .......... .......... .......... .......... 3.07M 
  3300K .......... .......... .......... .......... .......... 3.32M
  3350K .......... .......... .......... .......... .......... 3.61M 
  3400K .......... .......... .......... .......... .......... 3.50M 
  3450K .......... .......... .......... .......... .......... 4.28M
  3500K .......... .......... .......... .......... .......... 3.37M
  3550K .......... .......... .......... .......... .......... 3.74M
  3600K .......... .......... .......... .......... .......... 3.64M 
  3650K .......... .......... .......... .......... .......... 2.72M
  3700K .......... .......... .......... .......... .......... 4.30M 
  3750K .......... .......... .......... .......... .......... 2.97M 
  3800K .......... .......... .......... .......... .......... 3.36M
  3850K .......... .......... .......... .......... .......... 3.65M
  3900K .......... .......... .......... .......... .......... 3.74M 
  3950K .......... .......... .......... .......... .......... 4.95M
  4000K .......... .......... .......... .......... .......... 2.85M 
  4050K .......... .......... .......... .......... .......... 3.40M 
  4100K .......... .......... .......... .......... .......... 3.52M 
  4150K .......... .......... .......... .......... .......... 3.06M 
  4200K .......... .......... .......... .......... .......... 4.11M
  4250K .......... .......... .......... .......... .......... 3.28M 
  4300K .......... .......... .......... .......... .......... 5.14M
  4350K .......... .......... .......... .......... .......... 3.51M
  4400K .......... .......... .......... .......... .......... 2.90M 
  4450K .......... .......... .......... .......... .......... 3.53M
  4500K .......... .......... .......... .......... .......... 4.55M
  4550K .......... .......... .......... .......... .......... 3.17M
  4600K .......... .......... .......... .......... .......... 5.04M
  4650K .......... .......... .......... .......... .......... 3.11M
  4700K .......... .......... .......... .......... .......... 3.48M 
  4750K .......... .......... .......... .......... .......... 4.51M
  4800K .......... .......... .......... .......... .......... 3.21M
  4850K .......... .......... .......... .......... .......... 3.07M
  4900K .......... .......... .......... .......... .......... 5.34M
  4950K .......... .......... .......... .......... .......... 3.28M
  5000K .......... .......... .......... .......... .......... 3.55M 
  5050K .......... .......... .......... .......... .......... 3.74M
  5100K .......... .......... .......... .......... .......... 2.49M
  5150K .......... .......... .......... .......... .......... 4.65M
  5200K .......... .......... .......... .......... .......... 3.30M
  5250K .......... .......... .......... .......... .......... 3.47M 
  5300K .......... .......... .......... .......... .......... 3.83M
  5350K .......... .......... .......... .......... .......... 3.55M
  5400K .......... .......... .......... .......... .......... 3.22M
  5450K .......... .......... .......... .......... .......... 4.86M
  5500K .......... .......... .......... .......... .......... 3.58M
  5550K .......... .......... .......... .......... .......... 3.11M 
  5600K .......... .......... .......... .......... .......... 3.89M
  5650K .......... .......... .......... .......... .......... 3.07M
  5700K .......... .......... .......... .......... .......... 3.24M
  5750K .......... .......... .......... .......... .......... 6.33M
  5800K .......... .......... .......... .......... .......... 3.25M
  5850K .......... .......... .......... .......... .......... 3.81M 
  5900K .......... .......... .......... .......... .......... 3.23M
  5950K .......... .......... .......... .......... .......... 3.15M
  6000K .......... .......... .......... .......... .......... 3.18M
  6050K .......... .......... .......... .......... .......... 5.82M
  6100K .......... .......... .......... .......... .......... 4.23M 
  6150K .......... .......... .......... .......... .......... 3.11M
  6200K .......... .......... .......... .......... .......... 3.08M
  6250K .......... .......... .......... .......... .......... 3.19M
  6300K .......... .......... .......... .......... .......... 3.62M
  6350K .......... .......... .......... .......... .......... 6.27M 
  6400K .......... .......... .......... .......... .......... 3.25M
  6450K .......... .......... .......... .......... .......... 3.11M
  6500K .......... .......... .......... .......... .......... 3.29M
  6550K .......... .......... .......... .......... .......... 3.27M
  6600K .......... .......... .......... .......... .......... 3.59M
  6650K .......... .......... .......... .......... .......... 6.98M 
  6700K .......... .......... .......... .......... .......... 3.16M
  6750K .......... .......... .......... .......... .......... 3.06M
  6800K .......... .......... .......... .......... .......... 3.63M
  6850K .......... .......... .......... .......... .......... 3.52M
  6900K .......... .......... .......... .......... .......... 3.25M 
  6950K .......... .......... .......... .......... .......... 5.55M
  7000K .......... .......... .......... .......... .......... 3.06M
  7050K .......... .......... .......... .......... .......... 3.08M
  7100K .......... .......... .......... .......... .......... 4.34M
  7150K .......... .......... .......... .......... .......... 2.82M
  7200K .......... .......... .......... .......... .......... 7.25M 
  7250K .......... .......... .......... .......... .......... 3.25M
  7300K .......... .......... .......... .......... .......... 3.17M
  7350K .......... .......... .......... .......... .......... 3.43M
  7400K .......... .......... .......... .......... .......... 2.90M
  7450K .......... .......... .......... .......... .......... 2.72M 
  7500K .......... .......... .......... .......... .......... 8.23M
  7550K .......... .......... .......... .......... .......... 3.15M
  7600K .......... .......... .......... .......... .......... 3.13M
  7650K .......... .......... .......... .......... .......... 4.02M
  7700K .......... .......... .......... .......... .......... 3.08M
  7750K .......... .......... .......... .......... .......... 8.41M 
  7800K .......... .......... .......... .......... .......... 3.00M
  7850K .......... .......... .......... .......... .......... 3.12M
  7900K .......... .......... .......... .......... .......... 3.31M
  7950K .......... .......... .......... .......... .......... 3.75M
  8000K .......... .......... .......... .......... .......... 3.45M 
  8050K .......... .......... .......... .......... .......... 5.30M
  8100K .......... .......... .......... .......... .......... 3.32M
  8150K .......... .......... .......... .......... .......... 3.43M
  8200K .......... .......... .......... .......... .......... 3.48M
  8250K .......... .......... .......... .......... .......... 2.81M
  8300K .......... .......... .......... .......... .......... 3.64M 
  8350K .......... .......... .......... .......... .......... 5.59M
  8400K .......... .......... .......... .......... .......... 3.43M
  8450K .......... .......... .......... .......... .......... 3.39M
  8500K .......... .......... .......... .......... .......... 3.41M
  8550K .......... .......... .......... .......... .......... 2.98M
  8600K .......... .......... .......... .......... .......... 2.23M 
  8650K .......... .......... .......... .......... .......... 2.02M
  8700K .......... .......... .......... .......... .......... 3.13M
  8750K .......... .......... .......... .......... .......... 1.55M
  8800K .......... .......... .......... .......... .......... 2.78M
  8850K .......... .......... .......... .......... .......... 1.63M 
  8900K .......... .......... .......... .......... .......... 2.62M
  8950K .......... .......... .......... .......... .......... 1.63M
  9000K .......... .......... .......... .......... .......... 2.60M
  9050K .......... .......... .......... .......... .......... 2.84M 
  9100K .......... .......... .......... .......... .......... 2.87M
  9150K .......... .......... .......... .......... .......... 1.73M 
  9200K .......... .......... .......... .......... .......... 2.65M
  9250K .......... .......... .......... .......... .......... 2.53M
  9300K .......... .......... .......... .......... .......... 2.63M 
  9350K .......... .......... .......... .......... .......... 1.83M
  9400K .......... .......... .......... .......... .......... 2.35M 
  9450K .......... .......... .......... .......... .......... 2.73M
  9500K .......... .......... .......... .......... .......... 2.50M
  9550K .......... .......... .......... .......... .......... 3.05M
  9600K .......... .......... .......... .......... .......... 2.99M
  9650K .......... .......... .......... .......... .......... 2.92M 
  9700K .......... .......... .......... .......... .......... 2.93M
  9750K .......... .......... .......... .......... .......... 3.13M
  9800K .......... .......... .......... .......... .......... 2.91M
  9850K .......... .......... .......... .......... .......... 3.05M
  9900K .......... .......... .......... .......... .......... 2.96M 
  9950K .......... .......... .......... .......... .......... 3.07M
 10000K .......... .......... .......... .......... .......... 3.12M
 10050K .......... .......... .......... .......... .......... 3.36M
 10100K .......... .......... .......... .......... .......... 3.02M 
 10150K .......... .......... .......... .......... .......... 3.16M
 10200K .......... .......... .......... .......... .......... 3.42M 
 10250K .......... .......... .......... .......... .......... 4.34M
 10300K .......... .......... .......... .......... .......... 2.99M 
 10350K .......... .......... .......... .......... .......... 5.14M
 10400K .......... .......... .......... .......... .......... 3.11M
 10450K .......... .......... .......... .......... .......... 3.25M
 10500K .......... .......... .......... .......... .......... 3.12M 
 10550K .......... .......... .......... .......... .......... 3.12M
 10600K .......... .......... .......... .......... .......... 3.37M 
 10650K .......... .......... .......... .......... .......... 4.21M
 10700K .......... .......... .......... .......... .......... 3.29M 
 10750K .......... .......... .......... .......... .......... 5.02M 
 10800K .......... .......... .......... .......... .......... 3.32M 
 10850K .......... .......... .......... .......... .......... 3.17M
 10900K .......... .......... .......... .......... .......... 3.51M 
 10950K .......... .......... .......... .......... .......... 4.15M
 11000K .......... .......... .......... .......... .......... 4.70M 
 11050K .......... .......... .......... .......... .......... 3.46M
 11100K .......... .......... .......... .......... .......... 3.03M 
 11150K .......... .......... .......... .......... .......... 2.98M 
 11200K .......... .......... .......... .......... .......... 5.83M
 11250K .......... .......... .......... .......... .......... 3.07M
 11300K .......... .......... .......... .......... .......... 4.78M 
 11350K .......... .......... .......... .......... .......... 3.07M
 11400K .......... .......... .......... .......... .......... 3.27M 
 11450K .......... .......... .......... .......... .......... 4.32M
 11500K .......... .......... .......... .......... .......... 3.17M 
 11550K .......... .......... .......... .......... .......... 3.77M
 11600K .......... .......... .......... .......... .......... 4.61M 
 11650K .......... .......... .......... .......... .......... 3.31M
 11700K .......... .......... .......... .......... .......... 3.30M 
 11750K .......... .......... .......... .......... .......... 3.38M
 11800K .......... .......... .......... .......... .......... 3.12M
 11850K .......... .......... .......... .......... .......... 4.37M
 11900K .......... .......... .......... .......... .......... 5.04M
 11950K .......... .......... .......... .......... .......... 2.81M 
 12000K .......... .......... .......... .......... .......... 3.53M
 12050K .......... .......... .......... .......... .......... 2.94M
 12100K .......... .......... .......... .......... .......... 3.52M 
 12150K .......... .......... .......... .......... .......... 4.26M
 12200K .......... .......... .......... .......... .......... 4.78M
 12250K .......... .......... .......... .......... .......... 3.00M
 12300K .......... .......... .......... .......... .......... 3.15M
 12350K .......... .......... .......... .......... .......... 3.26M
 12400K .......... .......... .......... .......... .......... 4.84M 
 12450K .......... .......... .......... .......... .......... 4.62M
 12500K .......... .......... .......... .......... .......... 3.29M
 12550K .......... .......... .......... .......... .......... 3.04M 
 12600K .......... .......... .......... .......... .......... 3.35M
 12650K .......... .......... .......... .......... .......... 4.60M
 12700K .......... .......... .......... .......... .......... 3.91M
 12750K .......... .......... .......... .......... .......... 4.02M 
 12800K .......... .......... .......... .......... .......... 2.66M
 12850K .......... .......... .......... .......... .......... 3.86M 
 12900K .......... .......... .......... .......... .......... 3.33M
 12950K .......... .......... .......... .......... .......... 3.56M
 13000K .......... .......... .......... .......... .......... 4.06M
 13050K .......... .......... .......... .......... .......... 2.96M 
 13100K .......... .......... .......... .......... .......... 3.49M
 13150K .......... .......... .......... .......... .......... 4.73M
 13200K .......... .......... .......... .......... .......... 3.16M 
 13250K .......... .......... .......... .......... .......... 4.55M 
 13300K .......... .......... .......... .......... .......... 3.19M
 13350K .......... .......... .......... .......... .......... 3.18M
 13400K .......... .......... .......... .......... .......... 5.89M
 13450K .......... .......... .......... .......... .......... 3.18M 
 13500K .......... .......... .......... .......... .......... 3.80M
 13550K .......... .......... .......... .......... .......... 3.59M
 13600K .......... .......... .......... .......... .......... 3.34M 
 13650K .......... .......... .......... .......... .......... 3.26M
 13700K .......... .......... .......... .......... .......... 5.07M
 13750K .......... .......... .......... .......... .......... 3.37M 
 13800K .......... .......... .......... .......... .......... 3.79M
 13850K .......... .......... .......... .......... .......... 3.16M 
 13900K .......... .......... .......... .......... .......... 3.89M
 13950K .......... .......... .......... .......... .......... 3.33M 
 14000K .......... .......... .......... .......... .......... 4.33M
 14050K .......... .......... .......... .......... .......... 4.06M 
 14100K .......... .......... .......... .......... .......... 3.51M
 14150K .......... .......... .......... .......... .......... 3.32M
 14200K .......... .......... .......... .......... .......... 3.64M 
 14250K .......... .......... .......... .......... .......... 3.24M
 14300K .......... .......... .......... .......... .......... 4.73M 
 14350K .......... .......... .......... .......... .......... 3.72M
 14400K .......... .......... .......... .......... .......... 3.14M 
 14450K .......... .......... .......... .......... .......... 3.57M 
 14500K .......... .......... .......... .......... .......... 3.74M
 14550K .......... .......... .......... .......... .......... 4.17M 
 14600K .......... .......... .......... .......... .......... 3.43M 
 14650K .......... .......... .......... .......... .......... 4.14M
 14700K .......... .......... .......... .......... .......... 3.32M 
 14750K .......... .......... .......... .......... .......... 3.07M 
 14800K .......... .......... .......... .......... .......... 3.71M
 14850K .......... .......... .......... .......... .......... 5.13M
 14900K .......... .......... .......... .......... .......... 3.01M 
 14950K .......... .......... .......... .......... .......... 3.79M 
 15000K .......... .......... .......... .......... .......... 3.28M
 15050K .......... .......... .......... .......... .......... 3.14M 
 15100K .......... .......... .......... .......... .......... 3.77M 
 15150K .......... .......... .......... .......... .......... 2.01M 
 15200K .......... .......... .......... .......... .......... 18.2M
 15250K .......... .......... .......... .......... .......... 4.83M
 15300K .......... .......... .......... .......... .......... 3.41M 
 15350K .......... .......... .......... .......... .......... 3.03M
 15400K .......... .......... .......... .......... .......... 5.46M 
 15450K .......... .......... .......... .......... .......... 3.54M
 15500K .......... .......... .......... .......... .......... 4.11M 
 15550K .......... .......... .......... .......... .......... 3.13M 
 15600K .......... .......... .......... .......... .......... 3.34M 
 15650K .......... .......... .......... .......... .......... 5.38M
 15700K .......... .......... .......... .......... .......... 3.13M
 15750K .......... .......... .......... .......... .......... 3.39M 
 15800K .......... .......... .......... .......... .......... 3.92M
 15850K .......... .......... .......... .......... .......... 3.56M 
 15900K .......... .......... .......... .......... .......... 3.27M
 15950K .......... .......... .......... .......... .......... 5.66M 
 16000K .......... .......... .......... .......... .......... 2.96M
 16050K .......... .......... .......... .......... .......... 3.88M 
 16100K .......... .......... .......... .......... .......... 3.83M 
 16150K .......... .......... .......... .......... .......... 3.22M
 16200K .......... .......... .......... .......... .......... 4.72M
 16250K .......... .......... .......... .......... .......... 3.24M 
 16300K .......... .......... .......... .......... .......... 3.83M
 16350K .......... .......... .......... .......... .......... 3.31M 
 16400K .......... .......... .......... .......... .......... 4.46M
 16450K .......... .......... .......... .......... .......... 4.17M
 16500K .......... .......... .......... .......... .......... 2.89M 
 16550K .......... .......... .......... .......... .......... 3.99M
 16600K .......... .......... .......... .......... .......... 2.45M 
 16650K .......... .......... .......... .......... .......... 7.08M
 16700K .......... .......... .......... .......... .......... 3.90M 
 16750K .......... .......... .......... .......... .......... 2.09M
 16800K .......... .......... .......... .......... .......... 16.2M
 16850K .......... .......... .......... .......... .......... 3.70M 
 16900K .......... .......... .......... .......... .......... 3.06M
 16950K .......... .......... .......... ...                   6.73M=5.0s
 
2019-10-03 04:46:27 (3.29 MB/s) - 'vega.tar.gz' saved [17390909]

--2019-10-03 04:46:27--  https://github.com/vega/vega-lite/archive/v4.0.0-beta.9.tar.gz 
Resolving proxy.com (proxy.com)... 10.0.58.88
Connecting to proxy.com (proxy.com)|10.0.58.88|:8080... connected.
Proxy request sent, awaiting response... 302 Found 
Location: https://codeload.github.com/vega/vega-lite/tar.gz/v4.0.0-beta.9 [following]
--2019-10-03 04:46:28--  https://codeload.github.com/vega/vega-lite/tar.gz/v4.0.0-beta.9
Connecting to proxy.com (proxy.com)|10.0.58.88|:8080... connected. 
Proxy request sent, awaiting response... 200 OK 
Length: unspecified [application/x-gzip]
Saving to: 'vl.tar.gz'

     0K .......... .......... .......... .......... .......... 1.03M 
    50K .......... .......... .......... .......... .......... 1.05M 
   100K .......... .......... .......... .......... .......... 1.46M 
   150K .......... .......... .......... .......... .......... 1.10M 
   200K .......... .......... .......... .......... .......... 1.56M 
   250K .......... .......... .......... .......... .......... 1.52M 
   300K .......... .......... .......... .......... .......... 3.05M 
   350K .......... .......... .......... .......... .......... 1.57M 
   400K .......... .......... .......... .......... .......... 2.78M 
   450K .......... .......... .......... .......... .......... 1.64M 
   500K .......... .......... .......... .......... .......... 3.04M 
   550K .......... .......... .......... .......... .......... 3.04M 
   600K .......... .......... .......... .......... .......... 2.89M
   650K .......... .......... .......... .......... .......... 3.10M 
   700K .......... .......... .......... .......... .......... 2.98M
   750K .......... .......... .......... .......... .......... 3.17M 
   800K .......... .......... .......... .......... .......... 2.11M 
   850K .......... .......... .......... .......... .......... 6.39M
   900K .......... .......... .......... .......... .......... 3.21M
   950K .......... .......... .......... .......... .......... 3.33M 
  1000K .......... .......... .......... .......... .......... 3.46M
  1050K .......... .......... .......... .......... .......... 3.35M
  1100K .......... .......... .......... .......... .......... 3.48M 
  1150K .......... .......... .......... .......... .......... 8.44M
  1200K .......... .......... .......... .......... .......... 3.37M 
  1250K .......... .......... .......... .......... .......... 3.34M
  1300K .......... .......... .......... .......... .......... 3.42M
  1350K .......... .......... .......... .......... .......... 3.38M 
  1400K .......... .......... .......... .......... .......... 7.55M
  1450K .......... .......... .......... .......... .......... 3.54M 
  1500K .......... .......... .......... .......... .......... 3.30M 
  1550K .......... .......... .......... .......... .......... 3.41M 
  1600K .......... .......... .......... .......... .......... 3.47M 
  1650K .......... .......... .......... .......... .......... 8.57M
  1700K .......... .......... .......... .......... .......... 3.15M 
  1750K .......... .......... .......... .......... .......... 3.65M
  1800K .......... .......... .......... .......... .......... 3.00M
  1850K .......... .......... .......... .......... .......... 3.72M 
  1900K .......... .......... .......... .......... .......... 3.25M
  1950K .......... .......... .......... .......... .......... 5.43M
  2000K .......... .......... .......... .......... .......... 2.99M 
  2050K .......... .......... .......... .......... .......... 3.28M 
  2100K .......... .......... .......... .......... .......... 3.48M 
  2150K .......... .......... .......... .......... .......... 4.84M
  2200K .......... .......... .......... .......... .......... 3.23M
  2250K .......... .......... .......... .......... .......... 5.16M
  2300K .......... .......... .......... .......... .......... 3.37M
  2350K .......... .......... .......... .......... .......... 3.55M 
  2400K .......... .......... .......... .......... .......... 4.39M
  2450K .......... .......... .......... .......... .......... 3.28M
  2500K .......... .......... .......... .......... .......... 3.31M
  2550K .......... .......... .......... .......... .......... 6.41M
  2600K .......... .......... .......... .......... .......... 3.33M
  2650K .......... .......... .......... .......... .......... 3.74M
  2700K .......... .......... .......... .......... .......... 3.36M
  2750K .......... .......... .......... .......... .......... 3.69M
  2800K .......... .......... .......... .......... .......... 4.13M
  2850K .......... .......... .......... .......... .......... 3.78M
  2900K .......... .......... .......... .......... .......... 3.58M 
  2950K .......... .......... .......... .......... .......... 3.65M
  3000K .......... .......... .......... .......... .......... 3.49M
  3050K .......... .......... .......... .......... .......... 4.17M
  3100K .......... .......... .......... .......... .......... 3.78M
  3150K .......... .......... .......... .......... .......... 4.38M 
  3200K .......... .......... .......... .......... .......... 3.76M
  3250K .......... .......... .......... .......... .......... 3.29M
  3300K .......... .......... .......... .......... .......... 3.54M
  3350K .......... .......... .......... .......... .......... 3.28M
  3400K .......... .......... .......... .......... .......... 3.21M
  3450K .......... .......... .......... .......... .......... 9.35M 
  3500K .......... .......... .......... .......... .......... 3.48M
  3550K .......... .......... .......... .......... .......... 3.19M
  3600K .......... .......... .......... .......... .......... 3.41M
  3650K .......... .......... .......... .......... .......... 3.22M
  3700K .......... .......... .......... .......... .......... 3.50M 
  3750K .......... .......... .......... .......... .......... 8.50M
  3800K .......... .......... .......... .......... .......... 3.26M
  3850K .......... .......... .......... .......... .......... 3.56M
  3900K .......... .......... .......... .......... .......... 3.28M
  3950K .......... .......... .......... .......... .......... 3.68M 
  4000K .......... .......... .......... .......... .......... 7.37M
  4050K .......... .......... .......... .......... .......... 3.44M
  4100K .......... .......... .......... .......... .......... 3.08M
  4150K .......... .......... .......... .......... .......... 3.64M
  4200K .......... .......... .......... .......... .......... 3.35M
  4250K .......... .......... .......... .......... .......... 7.15M 
  4300K .......... .......... .......... .......... .......... 3.21M
  4350K .......... .......... .......... .......... .......... 3.68M
  4400K .......... .......... .......... .......... .......... 3.18M
  4450K .......... .......... .......... .......... .......... 3.62M
  4500K .......... .......... .......... .......... .......... 3.14M 
  4550K .......... .......... .......... .......... .......... 7.08M
  4600K .......... .......... .......... .......... .......... 4.13M
  4650K .......... .......... .......... .......... .......... 3.27M
  4700K .......... .......... .......... .......... .......... 3.10M
  4750K .......... .......... .......... .......... .......... 3.36M
  4800K .......... .......... .......... .......... .......... 3.44M 
  4850K .......... .......... .......... .......... .......... 7.38M
  4900K .......... .......... .......... .......... .......... 3.43M
  4950K .......... .......... .......... .......... .......... 3.27M
  5000K .......... .......... .......... .......... .......... 3.59M
  5050K .......... .......... .......... .......... .......... 3.38M
  5100K .......... .......... .......... .......... .......... 8.33M
  5150K .......... .......... .......... .......... .......... 3.36M
  5200K .......... .......... .......... .......... .......... 3.15M
  5250K .......... .......... .......... .......... .......... 3.73M
  5300K .......... .......... .......... .......... .......... 3.37M
  5350K .......... .......... .......... .......... .......... 3.86M 
  5400K .......... .......... .......... .......... .......... 5.46M
  5450K .......... .......... .......... .......... .......... 3.57M
  5500K .......... .......... .......... .......... .......... 3.25M
  5550K .......... .......... .......... .......... .......... 3.04M
  5600K .......... .......... .......... .......... .......... 4.63M 
  5650K .......... .......... .......... .......... .......... 5.82M
  5700K .......... .......... .......... .......... .......... 3.30M
  5750K .......... .......... .......... .......... .......... 3.26M
  5800K .......... .......... .......... .......... .......... 3.07M
  5850K .......... .......... .......... .......... .......... 4.28M
  5900K .......... .......... .......... .......... .......... 3.85M 
  5950K .......... .......... .......... .......... .......... 4.01M
  6000K .......... .......... .......... .......... .......... 3.14M
  6050K .......... .......... .......... .......... .......... 3.25M
  6100K .......... .......... .......... .......... .......... 4.50M
  6150K .......... .......... .......... .......... .......... 4.84M
  6200K .......... .......... .......... .......... .......... 3.50M 
  6250K .......... .......... .......... .......... .......... 3.33M
  6300K .......... .......... .......... .......... .......... 2.53M
  6350K .......... .......... .......... .......... .......... 1.39M
  6400K .......... .......... .......... .......... .......... 3.33M
  6450K .......... .......... .......... .......... .......... 3.10M 
  6500K .......... .......... .......... .......... .......... 3.09M
  6550K .......... .......... .......... .......... .......... 3.20M
  6600K .......... .......... .......... .......... .......... 3.09M
  6650K .......... .......... .......... .......... .......... 3.27M
  6700K .......... .......... .......... .......... .......... 4.21M
  6750K .......... .......... .......... .......... .......... 3.04M 
  6800K .......... .......... .......... .......... .......... 3.12M
  6850K .......... .......... .......... .......... .......... 3.29M
  6900K .......... .......... .......... .......... .......... 3.23M
  6950K .......... .......... .......... .......... .......... 4.70M
  7000K .......... .......... .......... .......... .......... 3.03M
  7050K .......... .......... .......... .......... .......... 3.14M 
  7100K .......... .......... .......... .......... .......... 3.29M
  7150K .......... .......... .......... .......... .......... 3.35M
  7200K .......... .......... .......... .......... .......... 3.34M
  7250K .......... .......... .......... .......... .......... 3.23M
  7300K .......... .......... .......... .......... .......... 3.08M
  7350K .......... .......... .......... .......... .......... 3.60M
  7400K .......... .......... .......... .......... .......... 5.13M 
  7450K .......... .......... .......... .......... .......... 3.16M
  7500K .......... .......... .......... .......... .......... 4.25M
  7550K .......... .......... .......... .......... .......... 2.74M
  7600K .......... .......... .......... .......... .......... 3.93M
  7650K .......... .......... .......... .......... .......... 3.61M
  7700K .......... .......... .......... .......... .......... 4.91M 
  7750K .......... .......... .......... .......... .......... 3.53M
  7800K .......... .......... .......... .......... .......... 2.81M
  7850K .......... .......... .......... .......... .......... 3.03M
  7900K .......... .......... .......... .......... .......... 4.28M
  7950K .......... .......... .......... .......... .......... 4.21M
  8000K .......... .......... .......... .......... .......... 3.04M 
  8050K .......... .......... .......... .......... .......... 3.55M
  8100K .......... .......... .......... .......... .......... 3.03M
  8150K .......... .......... .......... .......... .......... 4.97M
  8200K .......... .......... .......... .......... .......... 4.20M
  8250K .......... .......... .......... .......... .......... 3.91M 
  8300K .......... .......... .......... .......... .......... 3.25M
  8350K .......... .......... .......... .......... .......... 3.37M
  8400K .......... .......... .......... .......... .......... 4.75M
  8450K .......... .......... .......... .......... .......... 4.07M
  8500K .......... .......... .......... .......... .......... 3.41M
  8550K .......... .......... .......... .......... .......... 3.69M
  8600K .......... .......... .......... .......... .......... 3.48M 
  8650K .......... .......... .......... .......... .......... 5.31M
  8700K .......... ...                                         2.24M=2.6s

2019-10-03 04:46:31 (3.32 MB/s) - 'vl.tar.gz' saved [8923096]

/usr/src/app 
Done in 19.28s. 
[1/1] CONFIG Creating config files 

�🤖  Powered by Beemo v1.0.6
Done in 162.37s.
Removing intermediate container d9bd791a5954 
 ---> f2a433fb286f 
Step 11/12 : ENTRYPOINT ["yarn"]
 ---> Running in 31a174a2a653 
Removing intermediate container 31a174a2a653 
 ---> 42ac79fdf1b6
Step 12/12 : CMD ["start"]
 ---> Running in 0943d00749bf 
Removing intermediate container 0943d00749bf 
 ---> ae806d3f5d8b

Successfully built ae806d3f5d8b 
Successfully tagged editor_editor:latest 
```

</div></details>

# コンテナの実行
イメージのビルドが完了したら、コンテナを起動します。

```bash
docker-compose up -d 
```

<details><summary>正常に起動した場合</summary><div>

```bash
$ docker-compose up -d 
Starting editor_editor_1 ... done
```

</div></details>

# ブラウザでコンテナにアクセス
ブラウザを起動し、コンテナにアクセスします。URLは以下を参考に入力して下さい。

```
http://<環境構築したマシーンのIP>:8080
```

以下の画面が表示されたら構築完了です。

<img width="1440" alt="VegaEditor.png" src="https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/469079/297fe8c0-213f-09f3-e69b-961ea147660e.png">


# まとめ
本記事ではDocker Composeを用いてVega Editorの環境構築を実施しました。Vegaはまだ日本語のドキュメントが未整備な上、公式ドキュメント以外の情報も少ないため、積極的に活用して今後も情報発信が出来ればと思います。

# Reference
https://qiita.com/euxn23/items/83852da65151dc194335
https://qiita.com/charon/items/d8365d610343d64d598e
https://qiita.com/sch923/items/44ac748389dd68388467
https://qiita.com/remin/items/06a3a0dab63531c531e4
http://otn.hatenablog.jp/entry/20170708/p1