Build errors
Hi,
I run below command and I get many errors. I will be happy if you can help me.
Thank you
docker build -t teamviewer .
`Sending build context to Docker daemon 9.216kB Step 1/9 : FROM debian:wheezy wheezy: Pulling from library/debian fbb9e26f3a43: Pull complete Digest: sha256:eadf812da0899ff2a395410d68b17b3b84aa66bf2a4d1ad84e836d8d11be4b70 Status: Downloaded newer image for debian:wheezy ---> 4c3b65fb373e Step 2/9 : ENV DEBIAN_FRONTEND noninteractive ---> Running in 553d282f9996 ---> 4dd305561cf4 Removing intermediate container 553d282f9996 Step 3/9 : ENV DISPLAY :0.0 ---> Running in 51e8841db8b3 ---> 4b3bf446f813 Removing intermediate container 51e8841db8b3 Step 4/9 : ARG URL_DOWNLOAD ---> Running in fdf072d0d93e ---> 46817777399a Removing intermediate container fdf072d0d93e Step 5/9 : RUN useradd -m -d /home/teamviewer -s /bin/bash teamviewer && dpkg --add-architecture i386 && apt-get update && apt-get -y upgrade && apt-get -y dist-upgrade && apt-get install -y wget ca-certificates && wget ${URL_DOWNLOAD} -O /tmp/teamviewer && apt-get -y install sudo libasound2:i386 libexpat1:i386 libfontconfig1:i386 libfreetype6:i386 libice6:i386 libjpeg8:i386 libpng12-0:i386 libsm6:i386 libx11-6:i386 libxau6:i386 libxcb1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 libxrandr2:i386 libxrender1:i386 libxtst6:i386 libjpeg62:i386 libasound2 libsm6 libxfixes3 libxinerama1:i386 x11-common && tar xf tmp/teamviewer && if [ -d /teamviewer9 ]; then mv /teamviewer9 /teamviewer ; fi && chown -R teamviewer: /teamviewer /home/teamviewer && apt-get autoremove --purge -y && apt-get clean && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* && echo "teamviewer ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/teamviewer && chmod 0440 /etc/sudoers.d/teamviewer ---> Running in 1fb19a684b1a Get:1 http://security.debian.org wheezy/updates Release.gpg [1601 B] Get:2 http://security.debian.org wheezy/updates Release [52.3 kB] Get:3 http://deb.debian.org wheezy Release.gpg [2373 B] Get:4 http://security.debian.org wheezy/updates/main amd64 Packages [786 kB] Get:5 http://deb.debian.org wheezy-updates Release.gpg [1601 B] Get:6 http://deb.debian.org wheezy Release [191 kB] Get:7 http://deb.debian.org wheezy-updates Release [155 kB] Get:8 http://security.debian.org wheezy/updates/main i386 Packages [792 kB] Get:9 http://deb.debian.org wheezy/main amd64 Packages [7634 kB] Get:10 http://deb.debian.org wheezy/main i386 Packages [7660 kB] Get:11 http://deb.debian.org wheezy-updates/main amd64 Packages [7481 B] Get:12 http://deb.debian.org wheezy-updates/main i386 Packages [7399 B] Fetched 17.3 MB in 12s (1350 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: tzdata 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 496 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://security.debian.org/debian-security/ wheezy/updates/main tzdata all 2018e-0+deb7u1 [496 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 496 kB in 0s (705 kB/s) (Reading database ... 6755 files and directories currently installed.) Preparing to replace tzdata 2018d-0+deb7u1 (using .../tzdata_2018e-0+deb7u1_all.deb) ... Unpacking replacement tzdata ... Setting up tzdata (2018e-0+deb7u1) ...
Current default time zone: 'Etc/UTC' Local time is now: Sun May 6 09:44:19 UTC 2018. Universal Time is now: Sun May 6 09:44:19 UTC 2018. Run 'dpkg-reconfigure tzdata' if you wish to change it.
Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libgcrypt11 libgnutls26 libgpg-error0 libidn11 libp11-kit0 libtasn1-3 openssl Suggested packages: rng-tools The following NEW packages will be installed: ca-certificates libgcrypt11 libgnutls26 libgpg-error0 libidn11 libp11-kit0 libtasn1-3 openssl wget 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. Need to get 2981 kB of archives. After this operation, 6804 kB of additional disk space will be used. Get:1 http://security.debian.org/debian-security/ wheezy/updates/main libgcrypt11 amd64 1.5.0-5+deb7u6 [301 kB] Get:2 http://security.debian.org/debian-security/ wheezy/updates/main libtasn1-3 amd64 2.13-2+deb7u5 [68.9 kB] Get:3 http://security.debian.org/debian-security/ wheezy/updates/main libidn11 amd64 1.25-2+deb7u3 [180 kB] Get:4 http://deb.debian.org/debian/ wheezy/main libgpg-error0 amd64 1.10-3.1 [77.9 kB] Get:5 http://security.debian.org/debian-security/ wheezy/updates/main wget amd64 1.13.4-3+deb7u5 [770 kB] Get:6 http://deb.debian.org/debian/ wheezy/main libp11-kit0 amd64 0.12-3 [52.8 kB] Get:7 http://deb.debian.org/debian/ wheezy/main libgnutls26 amd64 2.12.20-8+deb7u5 [620 kB] Get:8 http://security.debian.org/debian-security/ wheezy/updates/main openssl amd64 1.0.1t-1+deb7u4 [701 kB] Get:9 http://security.debian.org/debian-security/ wheezy/updates/main ca-certificates all 20130119+deb7u2 [210 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 2981 kB in 2s (1198 kB/s) Selecting previously unselected package libgpg-error0:amd64. (Reading database ... 6755 files and directories currently installed.) Unpacking libgpg-error0:amd64 (from .../libgpg-error0_1.10-3.1_amd64.deb) ... Selecting previously unselected package libgcrypt11:amd64. Unpacking libgcrypt11:amd64 (from .../libgcrypt11_1.5.0-5+deb7u6_amd64.deb) ... Selecting previously unselected package libtasn1-3:amd64. Unpacking libtasn1-3:amd64 (from .../libtasn1-3_2.13-2+deb7u5_amd64.deb) ... Selecting previously unselected package libp11-kit0:amd64. Unpacking libp11-kit0:amd64 (from .../libp11-kit0_0.12-3_amd64.deb) ... Selecting previously unselected package libgnutls26:amd64. Unpacking libgnutls26:amd64 (from .../libgnutls26_2.12.20-8+deb7u5_amd64.deb) ... Selecting previously unselected package libidn11:amd64. Unpacking libidn11:amd64 (from .../libidn11_1.25-2+deb7u3_amd64.deb) ... Selecting previously unselected package wget. Unpacking wget (from .../wget_1.13.4-3+deb7u5_amd64.deb) ... Selecting previously unselected package openssl. Unpacking openssl (from .../openssl_1.0.1t-1+deb7u4_amd64.deb) ... Selecting previously unselected package ca-certificates. Unpacking ca-certificates (from .../ca-certificates_20130119+deb7u2_all.deb) ... Setting up libgpg-error0:amd64 (1.10-3.1) ... Setting up libgcrypt11:amd64 (1.5.0-5+deb7u6) ... Setting up libtasn1-3:amd64 (2.13-2+deb7u5) ... Setting up libp11-kit0:amd64 (0.12-3) ... Setting up libgnutls26:amd64 (2.12.20-8+deb7u5) ... Setting up libidn11:amd64 (1.25-2+deb7u3) ... Setting up wget (1.13.4-3+deb7u5) ... Setting up openssl (1.0.1t-1+deb7u4) ... Setting up ca-certificates (20130119+deb7u2) ... Processing triggers for ca-certificates ... Updating certificates in /etc/ssl/certs... 165 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d....done. wget: missing URL Usage: wget [OPTION]... [URL]... Try `wget --help' for more options.
The command '/bin/sh -c useradd -m -d /home/teamviewer -s /bin/bash teamviewer && dpkg --add-architecture i386 && apt-get update && apt-get -y upgrade && apt-get -y dist-upgrade && apt-get install -y wget ca-certificates && wget ${URL_DOWNLOAD} -O /tmp/teamviewer && apt-get -y install sudo libasound2:i386 libexpat1:i386 libfontconfig1:i386 libfreetype6:i386 libice6:i386 libjpeg8:i386 libpng12-0:i386 libsm6:i386 libx11-6:i386 libxau6:i386 libxcb1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 libxrandr2:i386 libxrender1:i386 libxtst6:i386 libjpeg62:i386 libasound2 libsm6 libxfixes3 libxinerama1:i386 x11-common && tar xf tmp/teamviewer && if [ -d /teamviewer9 ]; then mv /teamviewer9 /teamviewer ; fi && chown -R teamviewer: /teamviewer /home/teamviewer && apt-get autoremove --purge -y && apt-get clean && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* && echo "teamviewer ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/teamviewer && chmod 0440 /etc/sudoers.d/teamviewer' returned a non-zero code: 1`