vagrant-inside-docker
vagrant-inside-docker copied to clipboard
Dockerfile fails to build
❯ sudo docker build .
[+] Building 114.8s (12/13) docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 527B 0.0s
=> WARN: MaintainerDeprecated: Maintainer instruction is deprecated in favor of using label (line 2) 0.0s
=> [internal] load metadata for docker.io/library/ubuntu:16.04 2.3s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [1/9] FROM docker.io/library/ubuntu:16.04@sha256:1f1a2d56de1d604801a9671f301190704c25d604a416f59e03c04f5c6ffee0d6 17.5s
=> => resolve docker.io/library/ubuntu:16.04@sha256:1f1a2d56de1d604801a9671f301190704c25d604a416f59e03c04f5c6ffee0d6 0.0s
=> => sha256:da8ef40b9ecabc2679fe2419957220c0272a965c5cf7e0269fa1aeeb8c56f2e1 528B / 528B 0.7s
=> => sha256:1f1a2d56de1d604801a9671f301190704c25d604a416f59e03c04f5c6ffee0d6 1.42kB / 1.42kB 0.0s
=> => sha256:a3785f78ab8547ae2710c89e627783cfa7ee7824d3468cae6835c9f4eae23ff7 1.15kB / 1.15kB 0.0s
=> => sha256:b6f50765242581c887ff1acc2511fa2d885c52d8fb3ac8c4bba131fd86567f2e 3.36kB / 3.36kB 0.0s
=> => sha256:58690f9b18fca6469a14da4e212c96849469f9b1be6661d2342a4bf01774aa50 46.50MB / 46.50MB 15.8s
=> => sha256:b51569e7c50720acf6860327847fe342a1afbe148d24c529fb81df105e3eed01 857B / 857B 0.5s
=> => sha256:fb15d46c38dcd1ea0b1990006c3366ecd10c79d374f341687eb2cb23a2c8672e 170B / 170B 1.0s
=> => extracting sha256:58690f9b18fca6469a14da4e212c96849469f9b1be6661d2342a4bf01774aa50 1.7s
=> => extracting sha256:b51569e7c50720acf6860327847fe342a1afbe148d24c529fb81df105e3eed01 0.0s
=> => extracting sha256:da8ef40b9ecabc2679fe2419957220c0272a965c5cf7e0269fa1aeeb8c56f2e1 0.0s
=> => extracting sha256:fb15d46c38dcd1ea0b1990006c3366ecd10c79d374f341687eb2cb23a2c8672e 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 563B 0.0s
=> [2/9] RUN echo "deb http://archive.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list 0.3s
=> [3/9] RUN apt-get update 6.5s
=> [4/9] RUN apt-get install -yy virtualbox vagrant vim 77.1s
=> [5/9] RUN mkdir -pv /root/vagrant-openwrt 0.2s
=> [6/9] WORKDIR /root/vagrant-openwrt 0.0s
=> [7/9] RUN vagrant init living42/openwrt-15.05-x86 0.6s
=> ERROR [8/9] RUN vagrant box add living42/openwrt-15.05-x86 10.3s
------
> [8/9] RUN vagrant box add living42/openwrt-15.05-x86:
1.694 ==> box: Loading metadata for box 'living42/openwrt-15.05-x86'
1.694 box: URL: https://vagrantcloud.com/living42/openwrt-15.05-x86
3.530 ==> box: Adding box 'living42/openwrt-15.05-x86' (v0.1.0) for provider: virtualbox
3.532 box: Downloading: https://vagrantcloud.com/living42/boxes/openwrt-15.05-x86/versions/0.1.0/providers/virtualbox/unknown/vagrant.box
box: Calculating and comparing box checksum...
10.23 The specified checksum type is not supported by Vagrant: none.
10.23 Vagrant supports the following checksum types:
10.23
10.23 md5, sha1, sha256
------
1 warning found (use docker --debug to expand):
- MaintainerDeprecated: Maintainer instruction is deprecated in favor of using label (line 2)
Dockerfile:11
--------------------
9 | WORKDIR /root/vagrant-openwrt
10 | RUN vagrant init living42/openwrt-15.05-x86
11 | >>> RUN vagrant box add living42/openwrt-15.05-x86
12 | COPY vagrant-openwrt/Vagrantfile /root/vagrant-openwrt/Vagrantfile
13 |
--------------------
ERROR: failed to solve: process "/bin/sh -c vagrant box add living42/openwrt-15.05-x86" did not complete successfully: exit code: 1